Deprecate app.resolveProxy
There is now a public API to get default session, this helper is no longer necessary.
This commit is contained in:
parent
44c562ebd9
commit
08c13cf446
3 changed files with 10 additions and 12 deletions
|
@ -224,6 +224,14 @@ proxy-uri = [<proxy-scheme>"://"]<proxy-host>[":"<proxy-port>]
|
|||
URLs.
|
||||
```
|
||||
|
||||
### `ses.resolveProxy(url, callback)`
|
||||
|
||||
* `url` URL
|
||||
* `callback` Function
|
||||
|
||||
Resolves the proxy information for `url`. The `callback` will be called with
|
||||
`callback(proxy)` when the request is performed.
|
||||
|
||||
#### `ses.setDownloadPath(path)`
|
||||
|
||||
* `path` String - The download location
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue