Liking cljdoc? Tell your friends :D

automaton-simulation-de.middleware

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)
raw docstring

request-validation-mdwclj/s

(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`.
raw docstring

response-validation-mdwclj/s

(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`.
raw docstring

schemaclj/s

(schema)

wrap-requestclj/s

(wrap-request handler)

Wraps the request.

Wraps the request.
raw docstring

wrap-responseclj/s

(wrap-response handler)

Taps the response.

Taps the response.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close