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.

package

Default

Methods

__construct

__construct() 

Create a handler

create() : \io\vertx\jphp\ext\web\handler\ResponseTimeHandler
static

Something has happened, so handle it.

handle( $arg0) : void

Arguments

$arg0

RoutingContext