You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rdrew
1440706ce3
|
6 years ago | |
---|---|---|
.. | ||
index.js | 6 years ago | |
license | 6 years ago | |
package.json | 6 years ago | |
readme.md | 6 years ago |
readme.md
caw
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