Liking cljdoc? Tell your friends :D

json-rpc.http


clj-httpclj

source

error->statusclj

(error->status code)

Converts a JSON-RPC error code into the appropriate HTTP status.

Converts a JSON-RPC error code into the appropriate HTTP status.
sourceraw docstring

infer-statusclj

(infer-status body)

Infer the HTTP status code from the JSON-RPC response. See: https://www.jsonrpc.org/historical/json-rpc-over-http.html#errors

Infer the HTTP status code from the JSON-RPC response.
See: https://www.jsonrpc.org/historical/json-rpc-over-http.html#errors
sourceraw docstring

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

× close