new ResponseTimeHandler()
Handler which adds a header `x-response-time` in the response of matching requests containing the time taken
in ms to process the request.
Methods
handle(event)
Something has happened, so handle it.
Parameters:
| Name | Type | Description |
|---|---|---|
event |
RoutingContext | the event to handle |