HttpModifier Collection of Modifiers
[
]
(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), (*1)
[
]
(mailto:team@thruster.io), (*2)
The Thruster HttpModifier Collection of Modifiers, (*3)
Install
Via Composer, (*4)
``` bash
$ composer require thruster/http-modifiers, (*5)
## 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
``` bash
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details., (*6)
License
Please see License File for more information., (*7)