Factory method for building controllers from request/response pairs.
Base class for full-stack applications
Implementation of PSR HTTP streams.
The end user interface for doing HTTP requests.
Negotiates the prefered content type from what the application provides and what the request has in its Accept header.
A builder object that assists in defining Cross Origin Request related headers.
The FlashMessage class provides a way for you to write a flash variable to the session, to be rendered in a view with the FlashHelper.
Base class for standalone HTTP applications
Provides methods for creating and manipulating a "queue" of middlewares. This queue is used to process a request and generate response via \Cake\Http\Runner.
Responses contain the response text, status and headers of a HTTP response.
Emits a Response to the PHP Server API.
Executes the middleware queue and provides the
that allows the queue to be iterated.
Runs an application invoking all the PSR7 middleware and the registered application.
A class that helps wrap Request information and particulars about a single request. Provides methods commonly used to introspect on the request headers and request body.
Factory for making ServerRequest instances.
This class is a wrapper for the native PHP session functions. It provides several defaults for the most common session configuration via external handlers and helps with using session in CLI without any warnings.
The base and webroot properties have piggybacked on the Uri for a long time. To preserve backwards compatibility and avoid dynamic property errors in PHP 8.2 we use this implementation that decorates the Uri from Laminas