Use the chrome.devtools.network API to retrieve the information about network requests displayed by the Developer Tools in the Network panel.
Use the chrome.devtools.network API to retrieve the information about network requests displayed by the Developer Tools in the Network panel. * available since Chrome 26 * https://developer.chrome.com/extensions/devtools.network
(get-har)
Returns HAR log that contains all known network requests.
This function returns a core.async channel of type promise-chan
which eventually receives a result value.
Signature of the result value put on the channel is [har-log] where:
|har-log| - A HAR log. See HAR specification for details.
In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.
https://developer.chrome.com/extensions/devtools.network#method-getHAR.
Returns HAR log that contains all known network requests. This function returns a core.async channel of type `promise-chan` which eventually receives a result value. Signature of the result value put on the channel is [har-log] where: |har-log| - A HAR log. See HAR specification for details. In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error. https://developer.chrome.com/extensions/devtools.network#method-getHAR.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.devtools.network namespace.
Taps all valid non-deprecated events in chromex.ext.devtools.network namespace.
(tap-on-navigated-events channel & args)
Fired when the inspected window navigates to a new page.
Events will be put on the |channel| with signature [::on-navigated [url]] where:
|url| - URL of the new page.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/extensions/devtools.network#event-onNavigated.
Fired when the inspected window navigates to a new page. Events will be put on the |channel| with signature [::on-navigated [url]] where: |url| - URL of the new page. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/extensions/devtools.network#event-onNavigated.
(tap-on-request-finished-events channel & args)
Fired when a network request is finished and all request data are available.
Events will be put on the |channel| with signature [::on-request-finished [request]] where:
|request| - Description of a network request in the form of a HAR entry. See HAR specification for details.
Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
https://developer.chrome.com/extensions/devtools.network#event-onRequestFinished.
Fired when a network request is finished and all request data are available. Events will be put on the |channel| with signature [::on-request-finished [request]] where: |request| - Description of a network request in the form of a HAR entry. See HAR specification for details. Note: |args| will be passed as additional parameters into Chrome event's .addListener call. https://developer.chrome.com/extensions/devtools.network#event-onRequestFinished.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close