Registry / networking / psr-http-server-handler

psr-http-server-handler

JSON →
library1.0.2phppackagistunverified

Common interface for HTTP server-side request handler

composer require psr/http-server-handler
INSTALL
IMPORT
SIG · PSR-HTTP-SERVER-HA
P
psr-http-server-handler
networkingphpv1.0.2
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.

RequestHandlerInterface
use Psr\Http\Server\RequestHandlerInterface;

Implement a PSR-15 request handler.

use Psr\Http\Server\RequestHandlerInterface; use Psr\Http\Message\ServerRequestInterface; class MyHandler implements RequestHandlerInterface { public function handle(ServerRequestInterface $request): ResponseInterface { // handle request } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
psr-http-server-handler — pip install psr-http-server-handler · libregistry