Response Sender Save

PSR-7 Response sender function

Project README

HTTP Response Sender

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

Open Source Agenda is not affiliated with "Response Sender" Project. README Source: http-interop/response-sender
Stars
36
Open Issues
0
Last Commit
5 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating