CurlHttpRequest Class Reference

HttpRequest implemented using internal curl compiled into PHP. More...

Inherits HttpRequest.

List of all members.

Public Member Functions

 execute ()
 Take care of whatever is necessary to perform the URI request.

Static Public Attributes

static $curlMessageMap

Protected Member Functions

 readHeader ($fh, $content)

Protected Attributes

 $curlOptions = array()
 $headerText = ""


Detailed Description

HttpRequest implemented using internal curl compiled into PHP.

Definition at line 693 of file HttpFunctions.php.


Member Function Documentation

CurlHttpRequest::execute (  ) 

Take care of whatever is necessary to perform the URI request.

Returns:
Status

Reimplemented from HttpRequest.

Definition at line 707 of file HttpFunctions.php.

References $code, HttpRequest::getHeaderList(), HttpRequest::parseHeader(), HttpRequest::setStatus(), and wfDebug().

CurlHttpRequest::readHeader ( fh,
content 
) [protected]

Definition at line 702 of file HttpFunctions.php.

References HttpRequest::$content.


Member Data Documentation

CurlHttpRequest::$curlMessageMap [static]

Initial value:

 array(
                6 => 'http-host-unreachable',
                28 => 'http-timed-out'
        )

Definition at line 694 of file HttpFunctions.php.

CurlHttpRequest::$curlOptions = array() [protected]

Definition at line 699 of file HttpFunctions.php.

CurlHttpRequest::$headerText = "" [protected]

Definition at line 700 of file HttpFunctions.php.


The documentation for this class was generated from the following file:

Generated on Sat Apr 30 22:57:34 2011 for MediaWiki by  doxygen 1.5.9