Liking cljdoc? Tell your friends :D

cral.utils.utils


call-restclj

(call-rest method url ticket)
(call-rest method url ticket req)
(call-rest method url ticket req opts)

Executes a method REST API call on url endpoint with authentication ticket.

Executes a `method` REST API call on `url` endpoint with authentication `ticket`.
sourceraw docstring

camel-caseclj

(camel-case s)

Turns a kebab-case string s into camelCase.

Turns a kebab-case string `s` into camelCase.
sourceraw docstring

camel-case-keywordize-keysclj

(camel-case-keywordize-keys m)

Recursively transforms all m map keys from kebab-case to camelCase and keywordize them.

Recursively transforms all `m` map keys from kebab-case to camelCase and keywordize them.
sourceraw docstring

camel-case-stringify-keysclj

(camel-case-stringify-keys m)
(camel-case-stringify-keys m exclude)

Recursively transforms all m map keys from kebab-case to camelCase and stringify them eventually excluding keys in exclude.

Recursively transforms all `m` map keys from kebab-case to camelCase and stringify them eventually excluding keys in
`exclude`.
sourceraw docstring

ex-responseclj

(ex-response e)

Builds a response from a client exception e.

Builds a response from a client exception `e`.
sourceraw docstring

join-vector-valsclj

(join-vector-vals m)

Recursively transforms all m map vector values to comma separated strings.

Recursively transforms all `m` map vector values to comma separated strings.
sourceraw docstring

kebab-caseclj

(kebab-case s)

Turns a camelCase string s into kebab-case.

Turns a camelCase string `s` into kebab-case.
sourceraw docstring

kebab-keywordize-keysclj

(kebab-keywordize-keys m)

Recursively transforms all m map keys from camelCase to kebab-case and keywordize them.

Recursively transforms all `m` map keys from camelCase to kebab-case and keywordize them.
sourceraw docstring

ok-responseclj

(ok-response r return-headers)

Builds a successful response from r and keep the headers if return-headers is true.

Builds a successful response from `r` and keep the headers if `return-headers` is true.
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