Liking cljdoc? Tell your friends :D
Clojure only.

io.pedestal.connector.jdk-httpserver.test-request


http-exchangeclj

(http-exchange {:keys [context-path keystore] :or {context-path "/"}}
               {:keys [uri query-string headers request-method server-name
                       server-port scheme protocol body]
                :or {server-name "0" protocol "HTTP/1.1" server-port -1}
                :as ring-request})

Creates a mock implementation of com.sun.net.httpserver.HttpExchange. When deref'ed, it waits untli .close and returns a ring-like response.

Creates a mock implementation of com.sun.net.httpserver.HttpExchange.
When deref'ed, it waits untli `.close` and returns a ring-like response.
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