Skip to content

Instantly share code, notes, and snippets.

View matthias-christen's full-sized avatar

Matthias Christen matthias-christen

  • Zurich, Switzerland
View GitHub Profile
var Util = require('util');
var Https = require('https');
var Tls = require('tls');
/**
* HTTPS Agent for node.js HTTPS requests via a proxy.
* blog.vanamco.com/connecting-via-proxy-node-js/
*/
function HttpsProxyAgent(options)
{