Liking cljdoc? Tell your friends :D

b-logic-basics.http.middleware


wrap-500-catchallclj

(wrap-500-catchall handler)

Middleware that returns 500 if any exceptions are caught.

Middleware that returns 500 if any exceptions are caught.
sourceraw docstring

wrap-jsonclj

(wrap-json handler)

Middleware, returns a handler with it's decoded json body. Otherwise returns 400.

Middleware, returns a handler with it's decoded json body.
Otherwise returns 400.
sourceraw docstring

wrap-slurp-bodyclj

(wrap-slurp-body handler)

Middleware that returns a handler that slurps the body of the request when it is an instance of InputStream.

Middleware that returns a handler that slurps the body
of the request when it is an instance of InputStream.
sourceraw docstring

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

× close