@bedrock/https-agent
4.1.0 • Public • Published
import {config} from '@bedrock/core';
// set this to false to ignore SSL errors in development.
config['https-agent'].rejectUnauthorized = true;
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
- VersionDownloads (Last 7 Days)
- 4.1.0
300
Version History
Package Sidebar
Install
npm i @bedrock/https-agent
Weekly Downloads