Liking cljdoc? Tell your friends :D
Clojure only.

dev.arkaitz.web-base.server

Jetty behind two functions. Jetty lives entirely inside the base (SPEC §10): the host sees a handle map, never the server class. The bound port is in the handle because with :port 0 there is no other way to learn it without Jetty's own API.

Jetty behind two functions. Jetty lives entirely inside the base (SPEC
§10): the host sees a handle map, never the server class. The bound port is
in the handle because with `:port 0` there is no other way to learn it
without Jetty's own API.
raw docstring

startclj

(start handler {:keys [port] :as options})

Starts Jetty on handler and returns {:server s :port n}. Options are ring-jetty-adapter's, minus :join?, which is always false: a joining start blocks the caller forever, which is a hang, not a server.

Starts Jetty on `handler` and returns `{:server s :port n}`. Options are
ring-jetty-adapter's, minus `:join?`, which is always false: a joining
start blocks the caller forever, which is a hang, not a server.
sourceraw docstring

stopclj

(stop {:keys [server]})

Stops the server behind a handle returned by start.

Stops the server behind a handle returned by `start`.
sourceraw docstring

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