Ordered list of middlewares.
Ordered list of middlewares. * [See entity](docs/archi/middlewares_entity.png)
(concat-supp-middlewares middlewares supp-middlewares)Adds supp-middlewares in middlewares where ::sim-engine/supp-middlewares-insert stands.
Adds `supp-middlewares` in `middlewares` where `::sim-engine/supp-middlewares-insert` stands.
(validate middlewares)(wrap-handler handler middlewares)Wrap the handler with the middlewares.
Returns the handler value wrapped in all the middlewares.
Note that an handler is understood as a function taking a request and returning a response.
Wrap the `handler` with the middlewares. Returns the handler value wrapped in all the middlewares. Note that an handler is understood as a function taking a `request` and returning a `response`.
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 |