2.3.0 • Published 2 years ago

bedrock-https-agent v2.3.0

Weekly downloads
297
License
SEE LICENSE IN LI...
Repository
github
Last release
2 years ago

bedrock-https-agent

Config

const {config} = require('bedrock');

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

Usage

const {agent} = require('bedrock-https-agent');
const {httpClient} = require('@digitalbazaar/http-client');

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

2 years ago

2.2.0

2 years ago

2.1.0

3 years ago

2.0.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

5 years ago