backoffice/node_modules/caw
root ab9f8bb658 first commit 2020-02-06 10:09:39 +00:00
..
node_modules/object-assign first commit 2020-02-06 10:09:39 +00:00
index.js first commit 2020-02-06 10:09:39 +00:00
license first commit 2020-02-06 10:09:39 +00:00
package.json first commit 2020-02-06 10:09:39 +00:00
readme.md first commit 2020-02-06 10:09:39 +00:00

readme.md

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