Liking cljdoc? Tell your friends :D

martian.interceptors


coerce-dataclj/s

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

coerce-responseclj/s

(coerce-response encoders)
source

default-coerce-responseclj/s

source

default-encode-bodyclj/s

source

encode-bodyclj/s

(encode-body encoders)
source

enqueue-route-specific-interceptorsclj/s

source

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.
sourceraw docstring

keywordize-paramsclj/s

source

remove-stackclj/s

(remove-stack ctx)
source

request-only-handlerclj/s

source

set-body-paramsclj/s

source

set-form-paramsclj/s

source

set-header-paramsclj/s

source

set-methodclj/s

source

set-query-paramsclj/s

source

set-urlclj/s

source

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
sourceraw 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
sourceraw docstring

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

× close