메소드 | 설명 | |
---|---|---|
__construct ( callable $middleware, Psr\Http\Message\ResponseInterface $prototype ) | ||
process ( Psr\Http\Message\ServerRequestInterface $request, Interop\Http\Middleware\DelegateInterface $delegate ) | Proxies to underlying middleware, using composed response prototype. |
public __construct ( callable $middleware, Psr\Http\Message\ResponseInterface $prototype ) | ||
$middleware | callable | |
$prototype | Psr\Http\Message\ResponseInterface |
public process ( Psr\Http\Message\ServerRequestInterface $request, Interop\Http\Middleware\DelegateInterface $delegate ) | ||
$request | Psr\Http\Message\ServerRequestInterface | |
$delegate | Interop\Http\Middleware\DelegateInterface |