]> khamidou — GitHub mirrors - electron.git/commitdiff
Add --proxy-server and --no-proxy-server switches.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 20 Aug 2014 03:57:15 +0000 (11:57 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 20 Aug 2014 03:57:15 +0000 (11:57 +0800)
docs/api/chrome-command-line-switches.md
vendor/brightray

index ad0549ddbc09b0d9f50f9fbc307516e1cca9ea8c..158e147d4626e81427250fe369ab8f883be2b863 100644 (file)
@@ -18,6 +18,16 @@ app.on('ready', function() {
 
 Enables remote debug over HTTP on the specified `port`.
 
+## --proxy-server=`address:port`
+
+Uses a specified proxy server, overrides system settings. This switch only
+affects HTTP and HTTPS requests.
+
+## --no-proxy-server
+
+Don't use a proxy server, always make direct connections. Overrides any other
+proxy server flags that are passed.
+
 ## --host-rules=`rules`
 
 Comma-separated list of `rules` that control how hostnames are mapped.
index 41cb4ad321634dd3474b24c18f161f303ee41dfc..a3eba728efe6e80a5e0717f6889131519ab2b2f5 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 41cb4ad321634dd3474b24c18f161f303ee41dfc
+Subproject commit a3eba728efe6e80a5e0717f6889131519ab2b2f5