This class is an implemetation of an HTTP client in PHP.
It supports basic HTTP 1.0 and 1.1 requests. For a more complete implementation try Zend_Http_Client.
Located in /EasyRdf/Http/Client.php (line 50)
Constructor method. Will create a new HTTP client. Accepts the target URL and optionally configuration array.
Get the value of a specific header
Note that if the header has more than one value, an array will be returned.
Get the method for the next request
Get a GET parameter for the request.
Get all the GET parameters
Get the raw (already encoded) POST data.
Get the number of redirections done on the last request
Get the URI for the next request
Send the HTTP request and return an HTTP response object
Clear all GET and POST parameters
Should be used to reset the request parameters if the client is used for several concurrent requests.
clearAll parameter controls if we clean just parameters or also headers
Set configuration parameters for this HTTP client
Set a request header
Set the next request's method
Validated the passed method and sets it.
Set a GET parameter for the request.
Set the raw (already encoded) POST data.
This function is here for two reasons:
Set the URI for the next request
Documentation generated on Wed, 16 Jan 2013 19:16:37 +0000 by phpDocumentor 1.4.4