Defines a middleware, wrapping an handler to prepare the request before the handler execution, and modify the response after handler execution. Note that a middleware wrapping an handler returns a new handler, that can be wrapped again.
Defines a middleware, wrapping an handler to prepare the request before the handler execution, and modify the response after handler execution. Note that a middleware wrapping an handler returns a new handler, that can be wrapped again. * [See entity](docs/archi/middleware_entity.png)
(request-validation-mdw handler)Adds this middleware to validate the response of the event-execution.
This middleware should be last in the list of middlewares to catch all modifications of the request.
Stop could be ::response-inconsistency or ::response-schema.
Adds this middleware to validate the response of the `event-execution`. This middleware should be last in the list of middlewares to catch all modifications of the `request`. Stop could be `::response-inconsistency` or `::response-schema`.
(response-validation-mdw handler)Adds this middleware to validate the response of the event-execution.
This middleware should be first in the list of middlewares to catch all modifications of the response.
Stop could be ::response-inconsistency or ::response-schema.
Adds this middleware to validate the response of the `event-execution`. This middleware should be first in the list of middlewares to catch all modifications of the `response`. Stop could be `::response-inconsistency` or `::response-schema`.
(schema)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 |