Middleware to save the response time into the X-Response-Time header
Middleware to calculate the response time (in miliseconds) and save it into the X-Response-Time header.
This package is installable and autoloadable via Composer as middlewares/response-time.
composer require middlewares/response-time
Dispatcher::run([ new Middlewares\ResponseTime() ]);
The MIT License (MIT). Please see LICENSE for more information.