Socket
Socket
Sign inDemoInstall

@bedrock/https-agent

Package Overview
Dependencies
145
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bedrock/https-agent

A configurable httpsAgent for Bedrock.


Version published
Weekly downloads
216
decreased by-48.57%
Maintainers
5
Created
Weekly downloads
 

Changelog

Source

4.1.0 - 2024-02-28

Changed

  • Relicense under the Apache-2.0 license.

Readme

Source

bedrock-https-agent

Config

import {config} from '@bedrock/core';

// set this to false to ignore SSL errors in development.
config['https-agent'].rejectUnauthorized = true;

Usage

import {agent} from '@bedrock/https-agent';
import {httpClient} from '@digitalbazaar/http-client';

const result = await httpClient.get('http://httpbin.org/json', {agent});

FAQs

Last updated on 28 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc