fun before(requestProcessor: (ServerRequest) -> ServerRequest): Unit
Filter the request object for all routes created by this builder with the given request processing function. Filters are typically used to address cross-cutting concerns, such as logging, security, etc.
requestProcessor
- a function that transforms the request
Since
5.2