TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Http\DispatcherInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Http\DispatcherInterface:
TYPO3\CMS\Backend\Http\RouteDispatcher TYPO3\CMS\Core\Http\Dispatcher TYPO3\CMS\Backend\Http\RouteDispatcher

Public Member Functions

 dispatch (ServerRequestInterface $request, ResponseInterface $response)
 

Detailed Description

An interface for dispatcher that delegate requests/responses to a certain callable, typically a controller / action combination.

Is usually called from the RequestHandler,

Definition at line 25 of file DispatcherInterface.php.

Member Function Documentation

◆ dispatch()

TYPO3\CMS\Core\Http\DispatcherInterface::dispatch ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

Main method to dispatch a request and its response to a callable object

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Implemented in TYPO3\CMS\Core\Http\Dispatcher.