Bakhtina Sofya b84cb877be 1st comm | пре 2 недеља | |
---|---|---|
.. | ||
index.js | пре 2 недеља | |
license | пре 2 недеља | |
package.json | пре 2 недеља | |
readme.md | пре 2 недеља |
Construct HTTP/HTTPS agents for tunneling proxies
$ npm install caw
const caw = require('caw');
const got = require('got');
got('todomvc.com', {
agent: caw()
}, () => {});
Type: string
Proxy URL. If not set, it'll try getting it using get-proxy
.
Type: Object
Besides the options below, you can pass in options allowed in tunnel-agent.
Type: string
Default: http
Endpoint protocol.
MIT © Kevin Mårtensson