Feuerwehr-eppingen/node_modules/caw
2020-06-04 13:20:10 +02:00
..
node_modules/object-assign Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
index.js Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
license Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
package.json Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
readme.md Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00

caw Build Status

Construct HTTP/HTTPS agents for tunneling proxies

Install

$ npm install --save caw

Usage

var caw = require('caw');
var got = require('got');

got('todomvc.com', {
	agent: caw()
}, function () {});

API

caw(proxy, options)

proxy

Type: string

Proxy URL.

options

Type: object

Besides the options below, you can pass in options allowed in tunnel-agent.

protocol

Type: string
Default: http

Endpoint protocol.

License

MIT © Kevin Mårtensson