middlewares/response-time
最新稳定版本:v2.1.0
Composer 安装命令:
composer require middlewares/response-time
包简介
Middleware to save the response time into the X-Response-Time header
README 文档
README
Middleware to calculate the response time (in miliseconds) and save it into the X-Response-Time header.
Requirements
- PHP >= 7.2
- A PSR-7 http library
- A PSR-15 middleware dispatcher
Installation
This package is installable and autoloadable via Composer as middlewares/response-time.
composer require middlewares/response-time
Usage
Dispatcher::run([ new Middlewares\ResponseTime() ]);
Please see CHANGELOG for more information about recent changes and CONTRIBUTING for contributing details.
The MIT License (MIT). Please see LICENSE for more information.
统计信息
- 总下载量: 275.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 1
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-01