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 is a website building & hosting documentation for Clojure/Script libraries
× close