Liking cljdoc? Tell your friends :D

chromex.ext.devtools.network

clj

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 27
  * https://developer.chrome.com/extensions/devtools.network
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

get-harclj/smacro

(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.
sourceraw docstring

get-har*cljs

(get-har* config)
source

on-navigated*cljs

(on-navigated* config channel & args)
source

on-request-finished*cljs

(on-request-finished* config channel & args)
source

tap-all-eventsclj/smacro

(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.
sourceraw docstring

tap-on-navigated-eventsclj/smacro

(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.
sourceraw docstring

tap-on-request-finished-eventsclj/smacro

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close