Liking cljdoc? Tell your friends :D

clj-chrome-devtools.impl.connection

The remote debugging WebSocket connection

The remote debugging WebSocket connection
raw docstring

connectclj

(connect)
(connect host port)
(connect host port max-wait-time-ms)
(connect host port max-wait-time-ms ws-client)

Establish a websocket connection to the DevTools protocol at host:port. Selects the first inspectable page returned; to attach to a specific page, see connect-url. Initial connection will be retried for up to max-wait-time-ms milliseconds (default 1000) before giving up.

Establish a websocket connection to the DevTools protocol at host:port.
Selects the first inspectable page returned; to attach to a specific page,
see connect-url. Initial connection will be retried for up to
max-wait-time-ms milliseconds (default 1000) before giving up.
sourceraw docstring

connect-urlclj

(connect-url web-socket-debugger-url & [ws-client])

Establish a websocket connection to web-socket-debugger-url, as given by inspectable-pages.

Establish a websocket connection to web-socket-debugger-url, as given by
inspectable-pages.
sourceraw docstring

connection?clj

(connection? c)
source

current-connectionclj

source

get-current-connectionclj

(get-current-connection)
source

inspectable-pagesclj

(inspectable-pages host port)
(inspectable-pages host port max-wait-time-ms)

Collect the list of inspectable pages returned by the DevTools protocol.

Collect the list of inspectable pages returned by the DevTools protocol.
sourceraw docstring

listenclj

(listen {event-pub :event-pub} domain event)
source

make-ws-clientclj

(make-ws-client &
                [{:keys [idle-timeout max-msg-size-mb]
                  :or {idle-timeout 0 max-msg-size-mb (* 1024 1024)}}])

Constructs ws client. Idle timeout defaults to 0, which means keep it alive for the session. The max-msg-size-mb defaults to 1MB.

Constructs ws client. Idle timeout defaults to 0, which means keep it
alive for the session. The `max-msg-size-mb` defaults to 1MB.
sourceraw docstring

send-commandclj

(send-command {requests :requests con :ws-connection} payload id callback)
source

unlistenclj

(unlisten {event-pub :event-pub} domain event listening-ch)
source

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

× close