When bound, a (fn [request-options] response-map) that answers every request fire would otherwise send. nil — the default — means real http.
When bound, a (fn [request-options] response-map) that answers every request fire would otherwise send. nil — the default — means real http.
(clean-env-var env-var)(decode json-string)(encode m)(escape query)Surround all strings in query with quotes
Surround all strings in query with quotes
(http! client request-options)(http! client request-options callback)Perform one http request through client (an http-kit client, or a delay
of one) and return the response map. With a callback, hand the response
to it instead and return whatever http-kit returns.
Honours http-fn when bound, in which case nothing touches the network and the callback, if any, runs on the calling thread.
Perform one http request through `client` (an http-kit client, or a delay of one) and return the response map. With a `callback`, hand the response to it instead and return whatever http-kit returns. Honours *http-fn* when bound, in which case nothing touches the network and the callback, if any, runs on the calling thread.
(now)(recursive-merge a b)Recursively merge hash maps.
Recursively merge hash maps.
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 |