Javascript debugger
Website design
↑
This HTTP extension aims to provide a convenient and powerful set of functionality for one of PHPs major applications.
It eases handling of HTTP URLs, dates, redirects, headers and messages, provides means for negotiation of clients preferred language and charset, as well as a convenient way to send any arbitrary data with caching and resuming capabilities.
It provides powerful request functionality, if built with CURL support. Parallel requests are available for PHP 5 and greater.
Additionally to the API reference in this manual you can find information about how to install and configure as well as which global constants are predefined in the following sections:
Installation |
Configuration |
Global Constants |
Resource Types |
The classes below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
The HttpResponse
class requires at least PHP v5.1.
Any other class is available as of PHP v5.0.
Be aware though, that some methods are not available with PHP v5.0.
HttpMessage |
HttpQueryString |
HttpDeflateStream |
HttpInflateStream |
HttpRequest |
HttpRequestPool |
HttpResponse |
Built-in HTTP related functions previously listed on this page can be found in the networking category.
The following functions do not need the HTTP module to be present: header(), headers_list(), headers_sent(), setcookie() and setrawcookie().
http_build_cookie() |
http_date() |
http_get_request_body_stream() |
http_get_request_body() |
http_get_request_headers() |
http_match_etag() |
http_match_modified() |
http_match_request_header() |
http_support() |
Table of Contents