Liking cljdoc? Tell your friends :D

scicloj.clay.v2.server


*clientsclj

source

*stop-server!clj

source

broadcast!clj

(broadcast! msg)
source

browse!clj

(browse!)
source

close!clj

(close!)
source

communication-scriptclj

(communication-script {:keys [port counter]})

The communication JS script to init a WebSocket to the server.

The communication JS script to init a WebSocket to the server.
sourceraw docstring

computeclj

(compute input)
source

core-http-serverclj

(core-http-server port)
source

default-portclj

source

get-free-portclj

(get-free-port)
source

(header state)
source

loading!clj

(loading!)
source

open!clj

(open!)
(open! {:as opts :keys [port browse ide]})
source

pageclj

(page)
(page state)
source

portclj

(port)
source

port->urlclj

(port->url port)
source

routesclj

(routes {:keys [:body :request-method :uri] :as req})

Web server routes.

Web server routes.
sourceraw docstring

scittle-eval-string!clj

(scittle-eval-string! code)

Send ClojureScript code to be evaluated on the Clay page. The code will be executed directly using scittle.core.eval_string.

Send ClojureScript code to be evaluated on the Clay page.
The code will be executed directly using scittle.core.eval_string.
sourceraw docstring

update-page!clj

(update-page! {:as spec
               :keys [show base-target-path page full-target-path]
               :or {full-target-path (str base-target-path "/" ".clay.html")}})
source

urlclj

(url)
source

wrap-base-urlclj

(wrap-base-url html
               {:as state
                {:keys [flatten-targets full-target-path base-target-path]}
                  :last-rendered-spec})
source

wrap-htmlclj

(wrap-html html state)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close