mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 22:46:55 +00:00
Initial import
This commit is contained in:
commit
2295a33590
884 changed files with 93939 additions and 0 deletions
25
php/vendor/psr/http-server-middleware/src/MiddlewareInterface.php
vendored
Normal file
25
php/vendor/psr/http-server-middleware/src/MiddlewareInterface.php
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
namespace Psr\Http\Server;
|
||||
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
use Psr\Http\Message\ServerRequestInterface;
|
||||
|
||||
/**
|
||||
* Participant in processing a server request and response.
|
||||
*
|
||||
* An HTTP middleware component participates in processing an HTTP message:
|
||||
* by acting on the request, generating the response, or forwarding the
|
||||
* request to a subsequent middleware and possibly acting on its response.
|
||||
*/
|
||||
interface MiddlewareInterface
|
||||
{
|
||||
/**
|
||||
* Process an incoming server request.
|
||||
*
|
||||
* Processes an incoming server request in order to produce a response.
|
||||
* If unable to produce the response itself, it may delegate to the provided
|
||||
* request handler to do so.
|
||||
*/
|
||||
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue