node-tunnel - HTTP/HTTPS Agents for tunneling proxies
Example
var tunnel = require('tunnel');
var tunnelingAgent = tunnel.httpsOverHttp({
proxy: {
host: 'localhost',
port: 3128
}
});
var req = https.request({
host: 'example.com',
port: 443,
agent: tunnelingAgent
});Installation
$ npm install tunnelUsages
HTTP over HTTP tunneling
HTTPS over HTTP tunneling
HTTP over HTTPS tunneling
HTTPS over HTTPS tunneling
CONTRIBUTORS
License
Licensed under the MIT license.
Last updated