\Pydio\Share\HttpMinisiteRootMiddleware

Class MinisiteRootMiddleware

Summary

Methods
Properties
Constants
handleRequest()
emitResponse()
__construct()
No public properties found
No constants found
parseRequestRouteAndParams()
No protected properties found
N/A
No private methods found
$hash
N/A

Properties

$hash

$hash : 

Type

Methods

handleRequest()

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

Standard interface for PSR-7 Middleware

Parameters

\Psr\Http\Message\ServerRequestInterface $request

Interface that encapsulate http request parameters

\Psr\Http\Message\ResponseInterface $response

Interface encapsulating the response

callable|null $next

Next middleware to call

Throws

\Pydio\Core\Exception\PydioException

Returns

\Psr\Http\Message\ResponseInterface|null

emitResponse()

emitResponse(\Psr\Http\Message\ServerRequestInterface  $request, \Psr\Http\Message\ResponseInterface  $response) : void

Output the response to the browser, if no headers were already sent.

Parameters

\Psr\Http\Message\ServerRequestInterface $request
\Psr\Http\Message\ResponseInterface $response

__construct()

__construct(  $hash) 

MinisiteRootMiddleware constructor.

Parameters

$hash

parseRequestRouteAndParams()

parseRequestRouteAndParams(\Psr\Http\Message\ServerRequestInterface  $request, \Psr\Http\Message\ResponseInterface  $responseInterface) 

Parameters

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