Generic class to make outgoing HTTP requests.
Located in /system/classes/remoterequest.php (line 27)
Static helper function to quickly fetch an URL, with semantics similar to PHP's file_get_contents. Does not support
Returns the content on success or FALSE if an error occurred.
Add a request header.
Add a list of headers.
Actually execute the request.
On success, returns TRUE and populates the response_body and response_headers fields. On failure, throws error.
Return the response body. Raises a warning and returns '' if the request wasn't executed yet.
Return the response headers. Raises a warning and returns '' if the request wasn't executed yet.
Set the request body.
Only used with POST requests, will raise a warning if used with GET.
Set the request query parameters (i.e., the URI's query string).
Will be merged with existing query info from the URL.
Set the timeout.
DO NOT USE THIS FUNCTION.
This function is only to be used by the test case for RemoteRequest!
Documentation generated on Thu, 30 Oct 2008 20:31:25 +0100 by phpDocumentor 1.3.2