19 lines
409 B
PHP
19 lines
409 B
PHP
<?php
|
|
|
|
namespace Interop\Http\ServerMiddleware;
|
|
|
|
use Psr\Http\Message\ResponseInterface;
|
|
use Psr\Http\Message\ServerRequestInterface;
|
|
|
|
interface DelegateInterface
|
|
{
|
|
/**
|
|
* Dispatch the next available middleware and return the response.
|
|
*
|
|
* @param ServerRequestInterface $request
|
|
*
|
|
* @return ResponseInterface
|
|
*/
|
|
public function process(ServerRequestInterface $request);
|
|
}
|