Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
HTTP library for PEAR2
PHP

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
src/HTTP
tests
CREDITS
README
RELEASE-0.1.0
build.xml
makepackage.php
package.xml
package_compatible.xml

README

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)
Something went wrong with that request. Please try again.