An interface defining the methods that the http server depend on.
Load all the application configuration and bootstrap logic.
Handles a request and produces a response.
Define the HTTP middleware layers for an application.
bootstrap(): void
Load all the application configuration and bootstrap logic.
Override this method to add additional bootstrap logic for your application.
void
handle(ServerRequestInterface $request): ResponseInterface
Handles a request and produces a response.
May call other collaborating code to generate the response.
ServerRequestInterface
$request ResponseInterface
middleware(Cake\Http\MiddlewareQueue $middlewareQueue): Cake\Http\MiddlewareQueue
Define the HTTP middleware layers for an application.
Cake\Http\MiddlewareQueue
$middlewareQueue The middleware queue to set in your App Class
Cake\Http\MiddlewareQueue
© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/4.4/interface-Cake.Core.HttpApplicationInterface.html