Construct HTTP/HTTPS agents for tunneling proxies
npm install caw> Construct HTTP/HTTPS agents for tunneling proxies
```
$ npm install caw
`js
const caw = require('caw');
const got = require('got');
got('todomvc.com', {
agent: caw()
}, () => {});
`
#### proxy
Type: string
Proxy URL. If not set, it'll try getting it using get-proxy.
#### options
Type: Object
Besides the options below, you can pass in options allowed in tunnel-agent.
##### protocol
Type: stringhttp`
Default:
Endpoint protocol.
MIT © Kevin Mårtensson