Slight additions to cljs-http
Slight additions to `cljs-http`
(wrap-edn-response client opts)Decode application/edn responses.
Passes opts to cljs.reader/read-string.
Decode application/edn responses. Passes `opts` to `cljs.reader/read-string`.
(wrap-request request {:keys [readers] :as opts})Returns a batteries-included HTTP request function coresponding to the given
core client. Passes opts to wrap-edn-response.
Returns a batteries-included HTTP request function coresponding to the given core client. Passes `opts` to [[wrap-edn-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 |