Liking cljdoc? Tell your friends :D

ring.adapter.jetty9.common


get-headersclj

(get-headers request)

Creates a name/value map of all the request headers.

Creates a name/value map of all the request headers.
sourceraw docstring

noopclj

source

normalize-responseclj

(normalize-response response)

Normalize response for ring spec

Normalize response for ring spec
sourceraw docstring

on-file-change!clj

(on-file-change! target on-change!)

Sets up a WatchService, and registers the parent of <target> with it for changes. A separate thread constantly polls for events, and when the affected file matches <target>, calls <on-change> (no-args). Returns a (cancellable) Future. ATTENTION: Cancelling the future doesn't break the loop immediately - might take up to 5 minutes (worst-case)!

Sets up a WatchService, and registers the parent of <target> with it for changes.
A separate thread constantly polls for events, and when the affected file matches
<target>, calls <on-change> (no-args). Returns a (cancellable) Future.
ATTENTION: Cancelling the future doesn't break the loop immediately - might take
up to 5 minutes (worst-case)!
sourceraw docstring

RequestMapDecodercljprotocol

build-request-mapclj

(build-request-map r)
source

set-headersclj

(set-headers response headers)

Update a HttpServletResponse with a map of headers.

Update a HttpServletResponse with a map of headers.
sourceraw docstring

websocket-upgrade-response?clj

(websocket-upgrade-response? {:keys [status ws]})
source

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

× close