PHP Class Horde_Http_Response_Curl, horde

Author: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_Http_Response_Base
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_body string Response body.
$_info array Info on the request obtained from curl_getinfo().

Méthodes publiques

Méthode Description
__construct ( string $uri, string $curlresult, array $curlinfo ) Constructor.
getBody ( ) : string Returns the body of the HTTP response.

Méthodes protégées

Méthode Description
_parseInfo ( array $curlinfo ) Processes the results of curl_getinfo.
_parseResult ( string $curlresult ) Parses the combined header/body result from cURL.

Method Details

__construct() public méthode

Constructor.
public __construct ( string $uri, string $curlresult, array $curlinfo )
$uri string
$curlresult string
$curlinfo array

_parseInfo() protected méthode

Processes the results of curl_getinfo.
protected _parseInfo ( array $curlinfo )
$curlinfo array

_parseResult() protected méthode

Parses the combined header/body result from cURL.
protected _parseResult ( string $curlresult )
$curlresult string

getBody() public méthode

Returns the body of the HTTP response.
public getBody ( ) : string
Résultat string HTTP response body.

Property Details

$_body protected_oe property

Response body.
protected string $_body
Résultat string

$_info protected_oe property

Info on the request obtained from curl_getinfo().
protected array $_info
Résultat array