Merge pull request #3179 from deepak1556/session_api_patch

session: allow setproxy to use external pac script
This commit is contained in:
Cheng Zhao 2015-10-23 10:36:37 +08:00
commit 6182e4ce81
3 changed files with 31 additions and 7 deletions

View file

@ -154,7 +154,9 @@ Clears the data of web storages.
* `config` String
* `callback` Function - Called when operation is done.
Parses the `config` indicating which proxies to use for the session.
If `config` is a PAC url, it is used directly otherwise
`config` is parsed based on the following rules indicating which
proxies to use for the session.
```
config = scheme-proxies[";"<scheme-proxies>]