aidphp / http-middleware
HTTP Middlewares
1.0.0
2019-04-12 13:25 UTC
Requires
- php: ^7.1.0
- psr/http-message: ^1.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
Requires (Dev)
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-11-18 03:36:11 UTC
README
This repository contains the following middlewares:
- ContentMiddleware inject the Content-Type and Content-Length header into a PSR-7
ResponseInterface
headers. - SenderMiddleware to send a PSR-7
ResponseInterface
headers and body. - FormContentMiddleware to decode the URL-encoded content of a PSR-7
RequestInterface
. - JsonContentMiddleware to decode the JSON content of a PSR-7
RequestInterface
.