Add app.resolveProxy API, fixes #545.
This commit is contained in:
parent
a840799b46
commit
cfae3cd3af
3 changed files with 75 additions and 6 deletions
|
@ -111,6 +111,14 @@ to the spec of npm modules. So usually you should also specify a `productName`
|
|||
field, which is your application's full capitalized name, and it will be
|
||||
preferred over `name` by atom-shell.
|
||||
|
||||
## app.resolveProxy(url, callback)
|
||||
|
||||
* `url` URL
|
||||
* `callback` Function
|
||||
|
||||
Resolves the proxy information for `url`, the `callback` would be called with
|
||||
`callback(proxy)` when the request is done.
|
||||
|
||||
## app.commandLine.appendSwitch(switch, [value])
|
||||
|
||||
Append a switch [with optional value] to Chromium's command line.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue