thruster/http-modifiers
Composer 安装命令:
composer require thruster/http-modifiers
包简介
Thruster HttpModifier Collection of Modifiers
README 文档
README
[]
(https://github.com/ThrusterIO/http-modifiers/releases)
[
]
(LICENSE)
[
]
(https://travis-ci.org/ThrusterIO/http-modifiers)
[
]
(https://scrutinizer-ci.com/g/ThrusterIO/http-modifiers)
[
]
(https://scrutinizer-ci.com/g/ThrusterIO/http-modifiers)
[
]
(https://packagist.org/packages/thruster/http-modifiers)
The Thruster HttpModifier Collection of Modifiers
Install
Via Composer
$ composer require thruster/http-modifiers
Available Modifiers
| Name | Type | Description |
|---|---|---|
| AddClientUserAgentModifier | RequestModifier | Adds User-Agent header to RequestInterface |
| AddServerPoweredByModifier | ResponseModifier | Adds X-Powered-By header to Response Interface |
| AddServerTimeModifier | ResponseModifier | Adds Date header to Response Interface with gmdate |
| ParseCookieParamModifier | ServerRequestModifier | Parses Cookie header and fills ServerRequestInterface::cookieParams |
| ParseJsonRequestBodyModifier | ServerRequestModifier | Parses json body and fills ServerRequestInterface::parsedBody |
| ParseMultiPartBodyModifier | ServerRequestModifier | Parses multipart body and fills ServerRequestInterface::parsedBody and ServerRequestInterface::uploadedFiles |
| ParseQueryParamModifier | ServerRequestModifier | Parses getUri()->getQuery() and fills ServerRequestInterface::queryParams |
| ParseURLEncodedBodyModifier | ServerRequestModifier | Parses url-encoded body and fills ServerRequestInterface::parsedBody |
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
License
Please see License File for more information.
统计信息
- 总下载量: 351
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-25