Introduction
The HTTP extension aims to provide a convenient and powerful set of functionality for major applications.
If you are looking for documentation of version 2 of this extension, please find a complete reference at » http://devel-m6w6.rhcloud.com/mdref/http/.
The HTTP extension eases handling of HTTP URLs, dates, redirects, headers and messages in a HTTP context (both incoming and outgoing). It also provides means for client negotiation of preferred language and charset, as well as a convenient way to exchange arbitrary data with caching and resuming capabilities.
Also provided is a powerful request and parallel interface (PHP 5+), if the extension is built with cURL support.
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:
- Введение
- Установка и настройка
- Предопределенные константы
- Options usable with the HttpRequest class and request functions
- The HttpDeflateStream class
- The HttpInflateStream class
- The HttpMessage class
- The HttpQueryString class
- The HttpRequest
- The HttpRequestPool class
- The HttpResponse
- HTTP Функции
Коментарии
Note that the documentation for the http module is out of date!
If you install the module via pecl today, you get v2.4.3 of the module or newer. The API of v2.* is completely different than that shown here. It's very important that you follow the link shown in the documentation here to reach the correct documentation. Hopefully that documentation will appear here on php.net soon.
If you want to install the version documented here (recommended):
pecl install http://pecl.php.net/get/pecl_http-1.7.6.tgz