http-interop/response-sender
最新稳定版本:1.0.0
Composer 安装命令:
composer require http-interop/response-sender
包简介
A function to convert PSR-7 Response to HTTP output
README 文档
README
A simple function that will send PSR-7 ResponseInterface headers and body.
Installation
composer require http-interop/response-sender
Usage
use function Http\Response\send; // Any ResponseInterface instance can be used. $notFound = $responseFactory->createResponse(404); // Send headers and body. send($notFound);
License
MIT
统计信息
- 总下载量: 695.31k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 45
- 点击次数: 1
- 依赖项目数: 46
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-17