4.1.0 • Published 2 months ago

@bedrock/https-agent v4.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

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

2 months ago

3.0.2

2 years ago

4.0.0

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago