Adding an API to configure proxy [$85]
In 0.6.3 an API to get proxy for url has been added. Can we have an API to set proxy?
Chrome has a proxy API, which doesn't affect system settings. I'm wondering if nw could have the same feature.
http://developer.chrome.com/extensions/proxy.html
Did you help close this issue? Go claim the $85 bounty on Bountysource.
Well, I wonder it could develop a method to support PAC file.
wikipedia:http://en.wikipedia.org/wiki/Proxy_auto-config
like it too......
Right, can at least nw use the common HTTP_PROXY, http_proxy, HTTPS_PROXY, and https_proxy environment variables when it can't find any system settings?
The PAC and system support in this closed issue is wonderful:
https://github.com/rogerwang/node-webkit/issues/130?source=cc
But I've found some linux variants that don't supply the system proxy settings in a way Chrome or nw can understand. In those cases, either using the environment variables or a command line option to set the proxy would be helpful. Of course, the proxy given should be returned by the new API in the above issue
Actually, it is quite annoying to work behind proxy using NW-application, because users are asked for the credentials twice - first for NW, second for Node
I think there should be implemented some common way - i.e. environment variable HTTP_PROXY which is accessible from the NW and Node, or, another option, some API
Bump?
The project I'm working on at the moment needs me to find a portable web browser of some sort that runs things through a locally hosted proxy.
node-webkit would be perfect for the task if only I could figure out how to make it use said proxy…
uppfinnarn: you can't unless the System config is set to your local hosted server. I implemented kind of http client to make nodewebkit working with my own proxy with authentication.
You can use chromium portable if you don't need any node.js modules. It has an extensions that allows you configure the proxy.
Looking at that now, thanks. Not as elegant as I could make my node-webkit solution (where I could run the proxy within the same process), but it works.
Nevermind, Windows only, back to looking for alternatives until (if) this gets addressed...
Need it too ...
+1
+1 as well
An API method would be cool but supporting the --proxy-server chromium arg is a first step and is probably easy to implement.
+1
I support felicienfrancois proposal to support the --proxy-server arg. For users that cannot edit their system proxy configuration (at work for example), this is really necessary.
+1 would be very useful
+1 like it too......
+1
++
+1