Liking cljdoc? Tell your friends :D

martian.interceptors


coerce-dataclj/s

(coerce-data {:keys [parameter-aliases] :as handler} schema-key params opts)

coerce-responseclj/s

(coerce-response encoders)

default-coerce-responseclj/s


default-encode-bodyclj/s


encode-bodyclj/s

(encode-body encoders)

enqueue-route-specific-interceptorsclj/s


injectclj/s

(inject interceptors new-interceptor relative-position interceptor-name)

Locates the named interceptor in the list of interceptors and adds (or replaces) the new interceptor to the list. relative-position may be :before, :after, or :replace. For :replace, the new interceptor may be nil, in which case the interceptor is removed. The named interceptor must exist, or an exception is thrown.

Locates the named interceptor in the list of interceptors and adds (or replaces)
the new interceptor to the list.
relative-position may be :before, :after, or :replace.
For :replace, the new interceptor may be nil, in which case the interceptor is removed.
The named interceptor must exist, or an exception is thrown.
raw docstring

keywordize-paramsclj/s


remove-stackclj/s

(remove-stack ctx)

request-only-handlerclj/s


set-body-paramsclj/s


set-form-paramsclj/s


set-header-paramsclj/s


set-methodclj/s


set-query-paramsclj/s


set-urlclj/s


supported-content-typesclj/s

(supported-content-types interceptors)

Return the full set of supported content-types as declared by any encoding/decoding interceptors

Return the full set of supported content-types as declared by any encoding/decoding interceptors
raw docstring

validate-response-bodyclj/s

(validate-response-body)
(validate-response-body {:keys [strict?]})

Validate responses against the appropriate response schema. Optional strict mode throws an error if it is invalid

Validate responses against the appropriate response schema.
Optional strict mode throws an error if it is invalid
raw docstring

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

× close