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)

Release Notes - 0.3.1

Bugfix release:

  • Phpstream adapter - add request_fulluri to fix proxy support [olofa]


$ php pyrus.phar install PEAR2_HTTP_Request-0.3.1
Status: 0.3.1 alpha, released on February 17, 2012
License: New BSD License
Maintained: yes

Browse Files

46 files in 24 directories.

Dependencies for PEAR2_HTTP_Request

  • PHP ≥ 5.3.0