A sink for pairs of enriched request and response.
A request-response handler as required by Http().bindAndHandle
.
Wraps the given request-response handler in a new one which also streams sink for pairs of enriched request and response pairs to the access log given sink.
Wraps the given request-response handler in a new one which also streams sink for pairs of enriched request and response pairs to the access log given sink.
enrich the request, e.g. with a timestamp
sink for pairs of enriched request and response
handler to be wrapped
handler to be used in Http().bindAndHandle
wrapping the given handler
Provides ways to wrap a route or request-response handler in a new handler which also streams pairs of enriched request and response to an access log sink:
Example: