bootbot
bootbot copied to clipboard
Setting proxy
Hi, I am using this library behind a corporate firewall. Any external request would require first passing through a proxy. For the request library, I can do so by setting the HTTPS_PROXY environment variable. However I am not too familiar with the node-fetch library.
I think we can do this by leveraging a library like http-proxy-agent
and use it like in the example here: https://github.com/bitinn/node-fetch/issues/79
But we'll need to add support through an environment variable and/or an option in the BootBot class constructor.