MediaWiki  REL1_19
CurlHttpRequest Class Reference

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

Inheritance diagram for CurlHttpRequest:
Collaboration diagram for CurlHttpRequest:

List of all members.

Public Member Functions

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

Public Attributes

const SUPPORTS_FILE_POSTS = true

Static Public Attributes

static $curlMessageMap

Protected Member Functions

 readHeader ($fh, $content)

Protected Attributes

 $curlOptions = array()
 $headerText = ""

Detailed Description

MWHttpRequest implemented using internal curl compiled into PHP.

Definition at line 651 of file HttpFunctions.php.


Member Function Documentation

Returns:
bool

Reimplemented from MWHttpRequest.

Definition at line 756 of file HttpFunctions.php.

References wfDebug(), and wfIniGetBool().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Returns:
Status

Reimplemented from MWHttpRequest.

Definition at line 672 of file HttpFunctions.php.

References canFollowRedirects(), MWHttpRequest\getHeaderList(), MWHttpRequest\parseHeader(), MWHttpRequest\setStatus(), wfDebug(), wfRestoreWarnings(), and wfSuppressWarnings().

Here is the call graph for this function:

CurlHttpRequest::readHeader ( fh,
content 
) [protected]
Parameters:
$fh
$content
Returns:
int

Definition at line 667 of file HttpFunctions.php.

References MWHttpRequest\$content.


Member Data Documentation

CurlHttpRequest::$curlMessageMap [static]
Initial value:
 array(
                6 => 'http-host-unreachable',
                28 => 'http-timed-out'
        )

Definition at line 654 of file HttpFunctions.php.

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

Definition at line 659 of file HttpFunctions.php.

CurlHttpRequest::$headerText = "" [protected]

Definition at line 660 of file HttpFunctions.php.

Reimplemented from MWHttpRequest.

Definition at line 652 of file HttpFunctions.php.


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