Extended HTTP support. Again.
This extension is hosted at PECL and can be installed with PEAR’s pecl command:
# pecl install pecl_http
This extension unconditionally depends on the pre-loaded presence of the following PHP extensions:
--with-http-shared-deps (default) it depends on the pre-loaded presence of the following extensions, as long as they were available at build time:
pecl/http-v2 conflicts with the following extensions:
The http extension registers the
http.* namespace for its stream filters. Provided stream filters are:
|2.0.4||Dropped the pecl/event conflict.|
The HTTP client. See http\Client\Curl’s options which is the only driver currently supported.
class http\Client implements SplSubject, Countable
A class representing a list of cookies with specific attributes.
The http\Env class provides static methods to manipulate and inspect the server’s current request’s HTTP environment.
The http extension’s Exception interface.
The http\Header class provides methods to manipulate, match, negotiate and serialize HTTP headers.
class http\Header implements Serializable
The message class builds the foundation for any request and response message.
class http\Message implements Countable, Serializable, Iterator
Parse, interpret and compose HTTP (header) parameters.
class http\Params implements ArrayAccess
The http\QueryString class provides versatile facilities to retrieve, use and manipulate query strings and form data.
class http\QueryString implements Serializable, ArrayAccess, IteratorAggregate
The http\Url class provides versatile means to parse, construct and manipulate URLs.