webContents: event to detect status of requested resource

This commit is contained in:
deepak1556 2015-04-08 19:14:47 +05:30
parent fb00c28026
commit 15a648a879
7 changed files with 49 additions and 0 deletions

View file

@ -640,6 +640,19 @@ Corresponds to the points in time when the spinner of the tab starts spinning.
Corresponds to the points in time when the spinner of the tab stops spinning.
### Event: 'did-get-response-details'
* `event` Event
* `status` Boolean
* `newUrl` String
* `originalUrl` String
* `httpResponseCode` Integer
* `requestMethod` String
* `referrer` String
Emitted when details regarding a requested resource is available.
`status` indicates the socket connection to download the resource.
### Event: 'did-get-redirect-request'
* `event` Event