diff --git a/index.html b/index.html index 365e67c4..19d003af 100644 --- a/index.html +++ b/index.html @@ -1623,8 +1623,7 @@
proxyType is "manual".
- http".
+ http".
proxyType is "manual".
- https".
+ https".
socksProxy
proxyType is "manual".
- proxyType is "manual".
+ socks".
socksVersion
proxyType is "manual".
+ socks".
A host and optional port for a scheme is - defined as being a valid host, optionally followed by a colon - and a valid port. The host may - include credentials. If the - port is omitted and scheme has a default port, - this is the implied port. Otherwise, the port is left undefined. +
A proxy url for proxy scheme protocol can be
+ either "direct" or a string consists of an optional
+ proxy scheme scheme followed by the string
+ "://", a valid host host, and optionally a
+ colon followed by a valid port port.
+
+
The scheme can be different from protocol. + If so, it means that the protocol traffic will be proxied via + scheme. + +
If scheme is omitted, let scheme be null. + +
If scheme is null and port is 80,
+ let scheme be "http".
+
+
If scheme is null and port is 443,
+ let scheme be "https".
+
+
If scheme is null and port is 1080,
+ let scheme be "socks".
+
+
If scheme is null, let scheme be + protocol. + +
If scheme is "http" or "https",
+ the host may
+ include credentials.
+
+
If the port is omitted and scheme has a + default port, this is the implied port. Otherwise, the port + is left undefined. +
A proxy scheme is defined as being one of the following strings:
+ "http", "https", "socks",
+ "socks4", "socks5".
A proxyType of "direct" indicates
that the browser should not use a proxy at all.
@@ -1720,10 +1749,10 @@
proxyAutoconfigUrl" return
an error with error code invalid argument.
- If proxy has an own property for
- "socksProxy" and does not have an own property
- for "socksVersion" return an error with error
- code invalid argument.
+
If proxy contains proxy url with proxy scheme
+ "socks" and does not have an own property
+ for "socksVersion", return an error with error code
+ invalid argument.
Return success with data proxy.