Liking cljdoc? Tell your friends :D

shadow.cljs.devtools.server.worker.ws

the websocket which is injected into the app, responsible for live-reload, repl-eval, etc

the websocket which is injected into the app, responsible for live-reload, repl-eval, etc
raw docstring

compile-reqclj

(compile-req {:keys [ring-request] :as ctx} worker-proc)
source

files-reqclj

(files-req {:keys [ring-request] :as ctx} {:keys [state-ref] :as worker-proc})

a POST request from the REPL client asking for the compile JS for sources by name sends a {:sources [...]} structure with a vector of source names the response will include [{:js code :name ...} ...] with :js ready to eval

a POST request from the REPL client asking for the compile JS for sources by name
sends a {:sources [...]} structure with a vector of source names
the response will include [{:js code :name ...} ...] with :js ready to eval
sourceraw docstring

process-reqclj

(process-req
  {:shadow.http.router/keys [path-tokens] :keys [supervisor] :as ctx})
source

process-wsclj

(process-ws {:shadow.http.router/keys [path-tokens] :keys [supervisor] :as ctx})
source

ws-connectclj

(ws-connect {:keys [ring-request] :as ctx} worker-proc runtime-id runtime-type)
source

ws-listener-connectclj

(ws-listener-connect {:keys [ring-request] :as ctx}
                     {:keys [output] :as worker-proc}
                     client-id)
source

ws-loop!clj

(ws-loop! {:keys [worker-proc watch-chan in out runtime-out runtime-in]
           :as client-state})
source

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

× close