Vendor lock
This commit is contained in:
22
vendor/psr/http-server-handler/src/RequestHandlerInterface.php
vendored
Normal file
22
vendor/psr/http-server-handler/src/RequestHandlerInterface.php
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace Psr\Http\Server;
|
||||
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
|
||||
/**
|
||||
* Handles a server request and produces a response.
|
||||
*
|
||||
* An HTTP request handler process an HTTP request in order to produce an
|
||||
* HTTP response.
|
||||
*/
|
||||
interface RequestHandlerInterface
|
||||
{
|
||||
/**
|
||||
* Handles a request and produces a response.
|
||||
*
|
||||
* May call other collaborating code to generate the response.
|
||||
*/
|
||||
public function handle(ServerRequestInterface $request): ResponseInterface;
|
||||
}
|
Reference in New Issue
Block a user