Liking cljdoc? Tell your friends :D

reitit.ring.coercion


coerce-exceptions-middleware

Middleware for handling coercion exceptions. Expects a :coercion of type reitit.coercion/Coercion and :parameters or :responses from route data, otherwise does not mount.

Middleware for handling coercion exceptions.
Expects a :coercion of type `reitit.coercion/Coercion`
and :parameters or :responses from route data, otherwise does not mount.
sourceraw docstring

coerce-request-middleware

Middleware for pluggable request coercion. Expects a :coercion of type reitit.coercion/Coercion and :parameters from route data, otherwise does not mount.

Middleware for pluggable request coercion.
Expects a :coercion of type `reitit.coercion/Coercion`
and :parameters from route data, otherwise does not mount.
sourceraw docstring

coerce-response-middleware

Middleware for pluggable response coercion. Expects a :coercion of type reitit.coercion/Coercion and :responses from route data, otherwise does not mount.

Middleware for pluggable response coercion.
Expects a :coercion of type `reitit.coercion/Coercion`
and :responses from route data, otherwise does not mount.
sourceraw docstring

handle-coercion-exception

(handle-coercion-exception e respond raise)
source

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

× close