Liking cljdoc? Tell your friends :D
Clojure only.

resend-clojure.internal.response

Converts raw HTTP responses into the {:data … :error …} envelope used by the SDK. Success: 2xx → {:data <kebab-case map> :error nil} Failure: 4xx+ → {:data nil :error <kebab-case map>}

Converts raw HTTP responses into the {:data … :error …} envelope used by the SDK.
Success: 2xx  → {:data <kebab-case map>  :error nil}
Failure: 4xx+ → {:data nil :error <kebab-case map>}
raw docstring

handle-responseclj

(handle-response {:keys [status body]})

Converts a raw HTTP response into the {:data … :error …} envelope. Success: 2xx → {:data <kebab-case map> :error nil} Failure: 4xx+ → {:data nil :error <kebab-case map>}

Converts a raw HTTP response into the {:data … :error …} envelope.
Success: 2xx  → {:data <kebab-case map>  :error nil}
Failure: 4xx+ → {:data nil :error <kebab-case map>}
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close