Skip to content
HTTP library for PEAR2
PHP Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
src/HTTP
tests
.gitignore
CREDITS
README
RELEASE-0.1.0
RELEASE-0.2.0
RELEASE-0.3.0
RELEASE-0.3.1
build.xml
makepackage.php
package.xml
package_compatible.xml
packagexmlsetup.php

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.