Liking cljdoc? Tell your friends :D

full.http.client


connection-error-statusclj


create-json-response-parserclj

(create-json-response-parser json-key-fn)
(create-json-response-parser json-key-fn preserve-keys)

http-timeoutclj


json-body?clj

(json-body? body)

kebab-case-json-response-parserclj


log-debugcljmacro

(log-debug status & message)

log-errorcljmacro

(log-error status & message)

log-warncljmacro

(log-warn status & message)

loggerclj

(logger status)

raw-json-response-parserclj


req>clj

(req> {:keys [base-url resource url method params body headers basic-auth
              timeout form-params body-json-key-fn response-parser oauth-token
              follow-redirects? as files out-chan]
       :or {method (if (json-body? body) :post :get)
            body-json-key-fn ->camelCase
            response-parser kebab-case-json-response-parser
            follow-redirects? true
            as :auto}})

Performs asynchronous API request. Always returns result channel which will return either response or exception.

Performs asynchronous API request. Always returns result channel which will
return either response or exception.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close