Namespace ICanBoogie\HTTP
Namespaces summary
| ICanBoogie\HTTP\Dispatcher |
| ICanBoogie\HTTP\Request |
Classes summary
| CacheControlHeader | Representation of the Cache-Control header field. |
| CallableDispatcher | Wrapper for callable dispatchers. |
| ContentDispositionHeader | Representation of the Content-Disposition header field. |
| ContentTypeHeader | Representation of the Content-Type header field. |
| DateHeader | A date time object that renders into a string formatted for HTTP header fields. |
| Dispatcher | Dispatches requests. |
| File | Representation of a POST file. |
| FileList | Representation of a list of request files. |
| Header | Base class for header fields. |
| HeaderParameter | Representation of a header parameter. |
| Headers | HTTP Header field definitions. |
| Helpers | Patchable helpers of the HTTP package. |
| RedirectResponse | A HTTP response doing a redirect. |
| Request | An HTTP request. |
| Response | A response to a HTTP request. |
| WeightedDispatcher | Used to defined a dispatcher and its weight. |
Interfaces summary
| IDispatcher | Dispatcher interface. |
Exceptions summary
| ForceRedirect | Exception thrown to force the redirect of the response. |
| HTTPError | Base class for HTTP exceptions. |
| MethodNotSupported | Exception thrown when the HTTP method is not supported. |
| NotFound | Exception thrown when a resource is not found. |
| ServiceUnavailable | Exception thrown when the server is currently unavailable (because it is overloaded or down for maintenance). |
| StatusCodeNotValid | Exception thrown when the HTTP status code is not valid. |
Functions summary
| dispatch | Dispatches a request. |
| get_dispatcher | Returns shared request dispatcher. |
| get_initial_request | Returns the initial request. |