On this page
Namespace Http
Namespaces
Interfaces
ControllerFactoryInterface
Factory method for building controllers from request/response pairs.
Classes
BaseApplication
Base class for full-stack applications
CallbackStream
Implementation of PSR HTTP streams.
Client
The end user interface for doing HTTP requests.
ContentTypeNegotiation
Negotiates the prefered content type from what the application provides and what the request has in its Accept header.
CorsBuilder
A builder object that assists in defining Cross Origin Request related headers.
FlashMessage
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.
MiddlewareApplication
Base class for standalone HTTP applications
MiddlewareQueue
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.
Response
Responses contain the response text, status and headers of a HTTP response.
ResponseEmitter
Emits a Response to the PHP Server API.
Runner
Executes the middleware queue and provides the
next
callable that allows the queue to be iterated.Server
Runs an application invoking all the PSR7 middleware and the registered application.
ServerRequest
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.
ServerRequestFactory
Factory for making ServerRequest instances.
Session
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.
Uri
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
© 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/namespace-Cake.Http.html