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 :supp-middlewares-insert
stands.
Adds `supp-middlewares` in `middlewares` where `: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 is a website building & hosting documentation for Clojure/Script libraries
× close