/PEAR2_HTTP_Request

HTTP library for PEAR2

Primary LanguagePHP

Class to perform HTTP requests. Uses an adapter based system for performing those requests

Please see the examples dir for basic usage

Adapters are available for based on the following code and are used in this order:

* PEAR2\HTTP\Request\Adapter\Http (uses the Pecl Http class)
* PEAR2\HTTP\Request\Adapter\Curl (based on the curl extension, not complete)
* PEAR2\HTTP\Request\Adapter\Phpstream (based on the http php stream code)
* PEAR2\HTTP\Request\Adapter\Phpsocket (based on php sockets, built from PEAR1 HTTP_Request)

Additional adapters:

* PEAR2\HTTP\Request\Adapter\Filesystem (useful for mock Internet interaction)