Class that implements requests to Web resources using the HTTP protocol.
It features:
- May submit HTTP requests with any method, to any page, to any server, connecting to any port.
- Provides support to setup connection and request arguments from a given URL.
- May submit requests via a proxy server with support for authentication if necessary.
- May establish connections via a SOCKS server.
- Supports HTTP direct access or proxy based authentication mechanisms via SASL class library like HTTP Basic, HTTP Digest or NTLM (Windows or Samba).
- Support secure connections (https) via Curl library with SSL support, or at least PHP 4.3.0 with OpenSSL support, or via a non-SSL HTTP proxy server.
- Supports accessing secure pages using SSL certificates and private keys using Curl library
- Supports user defined request headers.
- Supports POST requests with a user defined array of form values.
- Supports POST requests with a user defined request bodies for instance for making requests to SOAP services.
- Supports streaming requests that require uploading large amounts of data of undefined length in small chunks to avoid exceeding PHP memory limits
- Supports requests to sites hosting virtual Web servers.
- Retrieves the HTTP response headers and body data separately.
- Support HTTP 1.1 chunked content encoding
- Supports session and persistent cookies.
- Provides optional handling of redirected pages.
- Supports defining connection and data transfer timeout values.
- Can output connection debug information in plain text or formatted as HTML.
- An add-on class is provided to login to Yahoo sites and perform actions on the behalf of the logged users like exporting the user address book or sending invitation to a group.
| |
Screenshots |
|
|
 |
| File |
Role |
Description |
httpclient.gif |
Screen |
Submitting a SOAP request via HTTP POST |
|
 |
| Project record: |
httpclass |
| Popularity score: |
283.86 |
| Vitality score: |
31.72 |
|
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Good (89.7%) |
Good (86.7%) |
- |
Good (81.4%) |
Sufficient (77.7%) |
- |
Sufficient (69.4%) |
211 |
| Month: |
Not yet rated by the users |
| |
Packages needed by this class |
|
|
| Class |
Dependency |
Why it is needed |
| Simple Authentication and Security Layer |
Conditional |
When the HTTP server requires authentication, the SASL package provides support for implementing authentication mechanisms like: Basic, Digest, PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix with Samba). |
| |
Packages that need this class |
|
|
| |
Applications that use this class |
|
|
| Link |
Description |
| Firestats |
Uses this class to download new versions of the program and the IP to country database files |

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|