.. | ||
dist | ||
LICENSE | ||
package.json | ||
README.md | ||
typings.json |
Popsicle Proxy Agent
Enable proxy support for Popsicle (for node).
Installation
npm install popsicle-proxy-agent --save
Usage
var request = require('popsicle').request
var proxy = require('popsicle-proxy-agent')
request('http://example.com')
.use(proxy({ proxy: '...' }))
.then(...)
Options
- proxy The default HTTP(s) proxy to use
- httpProxy The proxy for HTTP requests (default:
process.env.HTTP_PROXY
) - httpsProxy The proxy for HTTPS requests (default:
process.env.HTTPS_PROXY
) - noProxy A string of space-separated hosts to not proxy (default:
process.env.NO_PROXY
)
License
Apache 2.0