vertx / io.vertx.ext.web.handler / ResponseTimeHandler

ResponseTimeHandler

interface ResponseTimeHandler : Handler<RoutingContext>

Handler which adds a header `x-response-time` in the response of matching requests containing the time taken in ms to process the request.

Author
Tim Fox

Functions

create

open static fun create(): ResponseTimeHandler

Create a handler