Update ses.resolveProxy return type

As far as I'm aware, after using the `ses.resolveProxy` API, it seems to return a string in the shape of `PROXY foopy:80;SOCKS5 bar.com:1080`, not an object. Correct me if I'm wrong.
This commit is contained in:
João Moreno 2017-03-07 11:21:51 +01:00 committed by GitHub
parent 9547ff135f
commit 5a4d9807ee

View file

@ -204,7 +204,7 @@ The `proxyBypassRules` is a comma separated list of rules described below:
* `url` URL
* `callback` Function
* `proxy` Object
* `proxy` string
Resolves the proxy information for `url`. The `callback` will be called with
`callback(proxy)` when the request is performed.