Open kiavashi opened 8 years ago
the documentation for http_proxy
was actually in the nwjs/npm-installer/README.md
I am interested in trying this out, please assign it to me, thanks.
How to authorize SOCKS5 proxy, please show an example, who knows.
NW.js:
0.15.4
(using npm nw installer module) OS:Mac OSX 10.11.1
I have tried using an authenticated proxy and can't get it to work. I'm not sure if this is a bug or intended behavior.
What I have got to work is using the proxy url without the credentials and manually filling in the credentials in the popup window.
For my use case I need to programmatically authenticate with the proxy.
I have tried:
nw.App.setProxyConfig('http=user:pass@host:port')
nw.App.setProxyConfig('http=http://user:pass@host:port')
http_proxy
env variable (which I found somewhere other than the official nwjs docs)http_proxy=http://user:pass@host:port
http_proxy=user:pass@host:port
Possible solutions:
setProxyConfig
login
event