@bedrock/https-agent

4.1.0 • Public • Published

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});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 4.1.0
    300
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 4.1.0
    300
  • 4.0.0
    11
  • 3.0.2
    0
  • 3.0.1
    0
  • 3.0.0
    0

Package Sidebar

Install

npm i @bedrock/https-agent

Weekly Downloads

250

Version

4.1.0

License

Apache-2.0

Unpacked Size

37.9 kB

Total Files

19

Last publish

Collaborators

  • msporny
  • dlongley
  • davidlehn
  • mattcollier
  • gannan