PHP Класс Horde_Http_Response_Curl, horde

Автор: Chuck Hagenbuch ([email protected])
Наследование: extends Horde_Http_Response_Base
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_body string Response body.
$_info array Info on the request obtained from curl_getinfo().

Открытые методы

Метод Описание
__construct ( string $uri, string $curlresult, array $curlinfo ) Constructor.
getBody ( ) : string Returns the body of the HTTP response.

Защищенные методы

Метод Описание
_parseInfo ( array $curlinfo ) Processes the results of curl_getinfo.
_parseResult ( string $curlresult ) Parses the combined header/body result from cURL.

Описание методов

__construct() публичный Метод

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

_parseInfo() защищенный Метод

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

_parseResult() защищенный Метод

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

getBody() публичный Метод

Returns the body of the HTTP response.
public getBody ( ) : string
Результат string HTTP response body.

Описание свойств

$_body защищенное свойство

Response body.
protected string $_body
Результат string

$_info защищенное свойство

Info on the request obtained from curl_getinfo().
protected array $_info
Результат array