var HttpsProxyAgent = require('https-proxy-agent');
this.agent = new HttpsProxyAgent("http://example.proxy.com");
但是我还需要添加set node.js原始代理设置。
http.Agent({ keepAlive: true });
我没有看到使用httpsproxyagent的选项进行设置,因为https-proxy-agent来自agent-base
。有没有办法用不同的node.js模块来实现这个目标?