Registry / http-client / http-interop-response-sender

http-interop-response-sender

JSON →
library1.1.0phppackagistunverified

A function to convert PSR-7 Response to HTTP output.

composer require http-interop/response-sender
INSTALL
IMPORT
SIG · HTTP-INTEROP-RESPO
H
http-interop-response-sender
http-clientphpv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

send
use Http\Response\Sender\send;

Send a PSR-7 response to the client

use function Http\Response\Sender\send; $response = new \GuzzleHttp\Psr7\Response(); send($response);
Debug
Known issues
breakingRequires PHP 7.1+
fix
Upgrade PHP to 7.1 or later
affects: <1.1.0
Upgrade
Version history
1.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
http-interop-response-sender — pip install http-interop-response-sender · libregistry