(wrap-500-catchall handler)
Middleware that returns 500 if any exceptions are caught.
Middleware that returns 500 if any exceptions are caught.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close