bedrock-https-agent
A configurable httpsAgent for Bedrock.
Last updated 2 months ago by dlongley .
SEE LICENSE IN LICENSE.md · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install bedrock-https-agent 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.1.0                                ...           latest (2 months ago)

5 Versions

  • 2.1.0                                ...           2 months ago
  • 2.0.0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (5)

Copyright 2014 - 2021 © npmmirror.com |