Liking cljdoc? Tell your friends :D

etaoin.dev

A namespace to cover Chrome's devtools features.

A namespace to cover Chrome's devtools features.
raw docstring

ajax?clj

(ajax? request)

Whether it's an XHR request.

Whether it's an XHR request.
sourceraw docstring

build-requestclj

(build-request logs)

Takes a vector of request logs of the same ID and builda request map.

Takes a vector of request logs of the same ID
and builda request map.
sourceraw docstring

get-ajaxclj

(get-ajax driver)

Return a list of XHR (Ajax) HTTP requests made by a browser.

Return a list of XHR (Ajax) HTTP requests made by a browser.
sourceraw docstring

get-performance-logsclj

(get-performance-logs driver)

Get a seq of special performance logs that come from a dev console. Works only when a special perfLoggingPrefs was set (see the :dev key when running a driver).

Get a seq of special `performance` logs that come from
a dev console. Works only when a special `perfLoggingPrefs`
was set (see the `:dev` key when running a driver).
sourceraw docstring

get-requestsclj

(get-requests driver)

Return a list of HTTP requests made by a browser.

Return a list of HTTP requests made by a browser.
sourceraw docstring

group-requestsclj

(group-requests logs)

Group a set of request logs by their ID.

Group a set of request logs by their ID.
sourceraw docstring

log->requestclj

(log->request acc log)

A helper for a further reduce (see below). Acc is an accumulation map.

A helper for a further reduce (see below).
Acc is an accumulation map.
sourceraw docstring

logs->ajaxclj

(logs->ajax logs)

The same as logs->requests but return only AJAX requests.

The same as `logs->requests` but return only AJAX requests.
sourceraw docstring

logs->requestsclj

(logs->requests logs)

From a list of log entries, create a list of requests.

From a list of log entries, create a list of requests.
sourceraw docstring

parse-jsonclj

(parse-json string)
source

parse-methodclj

(parse-method method)

Turns a string like 'Network.SomeAction' into a keyword :network/someaction.

Turns a string like 'Network.SomeAction'
into a keyword :network/someaction.
sourceraw docstring

process-logclj

(process-log log)

Takes a log map, parses its message and merges the message into the map.

Takes a log map, parses its message and merges
the message into the map.
sourceraw docstring

request-done?clj

(request-done? request)

Whether a request has been done. It doesn't necessarily mean it was successful though.

Whether a request has been done. It doesn't necessarily
mean it was successful though.
sourceraw docstring

request-failed?clj

(request-failed? request)

True if a request has been failed.

True if a request has been failed.
sourceraw docstring

request-success?clj

True when a request has been finished and not failed.

True when a request has been finished and not failed.
sourceraw docstring

request?clj

(request? log)

True if a log entry belongs to a network domain.

True if a log entry belongs to a network domain.
sourceraw docstring

try-parse-intclj

(try-parse-int line)
source

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

× close