Can a proxy (like fiddler) be used with Node.js's ClientRequest

前端 未结 6 723
栀梦
栀梦 2020-12-23 02:13

Can node.js be setup to recognize a proxy (like Fiddler for example) and route all ClientRequest\'s through the proxy?

I am using node on Windows and would like to d

6条回答
  •  天涯浪人
    2020-12-23 02:45

    Answering my own question: according to https://github.com/joyent/node/issues/1514 the answer is no, but you can use the request module, http://search.npmjs.org/#/request, which does support proxies.

提交回复
热议问题