(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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |