MediaWiki  REL1_22
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

Protected Member Functions

 readHeader ($fh, $content)

Protected Attributes

 $curlOptions = array()
 $headerText = ""

Detailed Description

MWHttpRequest implemented using internal curl compiled into PHP.

Definition at line 704 of file HttpFunctions.php.


Member Function Documentation

Returns:
bool

Reimplemented from MWHttpRequest.

Definition at line 813 of file HttpFunctions.php.

Referenced by execute().

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

Returns:
Status

Reimplemented from MWHttpRequest.

Definition at line 720 of file HttpFunctions.php.

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

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

Definition at line 715 of file HttpFunctions.php.


Member Data Documentation

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

Definition at line 707 of file HttpFunctions.php.

CurlHttpRequest::$headerText = "" [protected]

Definition at line 708 of file HttpFunctions.php.

Reimplemented from MWHttpRequest.

Definition at line 705 of file HttpFunctions.php.


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