Liking cljdoc? Tell your friends :D

solita.etp.api.response


->xml-responseclj

(->xml-response response)

bad-requestclj

(bad-request body)

conflictclj

(conflict body)

createdclj

(created path {:keys [id] :as body})

file-responseclj

(file-response body filename content-type inline? not-found)

forbiddenclj


get-responseclj

(get-response body not-found)

internal-server-errorclj

(internal-server-error body)

pdf-responseclj

(pdf-response body filename not-found)

put-responseclj

(put-response updated not-found)

response-with-exceptionsclj

(response-with-exceptions service-fn error-descriptions)
(response-with-exceptions status service-fn error-descriptions)

signature-responseclj

(signature-response result id)

unauthorizedclj


with-exceptionsclj

(with-exceptions response-fn error-descriptions)

Convert exceptions defined in error-descriptions to error responses. If exception data matches error description then it is returned as a response. The http response status is defined in error description. These exceptions must not contain any sensitive data.

Convert exceptions defined in error-descriptions to error responses.
If exception data matches error description then it is returned as a response.
The http response status is defined in error description.
These exceptions must not contain any sensitive data.
raw docstring

xlsx-responseclj

(xlsx-response body filename not-found)

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

× close