在Node.js请求模块上设置{“agent”:false}
如何在请求模块上设置“代理”为false? 比如我可以在http core [2]模块上做些什么?
[1] http://npmjs.org/request
[2] https://nodejs.org/api/http.html#http_class_http_agent
看起来该选项隐藏在“池”选项下。 只需要设置“池”:假。 谢谢
如何在请求模块上设置“代理”为false? 比如我可以在http core [2]模块上做些什么?
[1] http://npmjs.org/request
[2] https://nodejs.org/api/http.html#http_class_http_agent
看起来该选项隐藏在“池”选项下。 只需要设置“池”:假。 谢谢