All of ring-defaults-middleware, plus Reitit's content negotiation
(using Muuntaja), exception and coercion middleware.
All of `ring-defaults-middleware`, plus Reitit's content negotiation (using Muuntaja), exception and coercion middleware.
Applies the same middleware as ring.middleware.defaults/wrap-defaults,
but as Reitit data-driven middleware with per-route compilation.
To configure middleware per route, add :defaults route data, maybe using
one of the curated configurations from ring.middleware.defaults.
Applies the same middleware as `ring.middleware.defaults/wrap-defaults`, but as Reitit data-driven middleware with per-route compilation. To configure middleware per route, add `:defaults` route data, maybe using one of the curated configurations from `ring.middleware.defaults`.
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 |