mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-21 06:56:57 +00:00
Initial import
This commit is contained in:
commit
2295a33590
884 changed files with 93939 additions and 0 deletions
22
php/vendor/psr/http-server-handler/src/RequestHandlerInterface.php
vendored
Normal file
22
php/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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue