Merge pull request #1386 from deepak1556/web_contents_patch
webContents: event to detect status of requested resource
This commit is contained in:
commit
64f9f7e906
7 changed files with 49 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -302,6 +302,18 @@ 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.
|
||||
|
||||
### did-get-response-details
|
||||
|
||||
* `status` Boolean
|
||||
* `newUrl` String
|
||||
* `originalUrl` String
|
||||
* `httpResponseCode` Integer
|
||||
* `requestMethod` String
|
||||
* `referrer` String
|
||||
|
||||
Fired when details regarding a requested resource is available.
|
||||
`status` indicates socket connection to download the resource.
|
||||
|
||||
### did-get-redirect-request
|
||||
|
||||
* `oldUrl` String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue