\Pydio\Core\Http\MiddlewareITopLevelMiddleware

Interface ITopLevelMiddleware

Summary

Methods
Constants
emitResponse()
handleRequest()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

emitResponse()

emitResponse(\Psr\Http\Message\ServerRequestInterface  $requestInterface, \Psr\Http\Message\ResponseInterface  $responseInterface) : mixed

Parameters

\Psr\Http\Message\ServerRequestInterface $requestInterface
\Psr\Http\Message\ResponseInterface $responseInterface

Returns

mixed

handleRequest()

handleRequest(\Psr\Http\Message\ServerRequestInterface  $requestInterface, \Psr\Http\Message\ResponseInterface  $responseInterface, callable|null  $next = null) : \Psr\Http\Message\ResponseInterface

Parameters

\Psr\Http\Message\ServerRequestInterface $requestInterface
\Psr\Http\Message\ResponseInterface $responseInterface
callable|null $next

Throws

\Pydio\Core\Exception\WorkspaceNotFoundException

Returns

\Psr\Http\Message\ResponseInterface