(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |