PHP Класс Horde_Http_Response_Fopen, horde

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

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

Свойство Тип Описание
$_content Response content
$_stream stream Response body.

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

Метод Описание
__construct ( $uri, $stream, $headers = [] ) Constructor.
getBody ( ) : string Returns the body of the HTTP response.
getStream ( ) Returns a stream pointing to the response body that can be used with all standard PHP stream functions.

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

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

Constructor.
public __construct ( $uri, $stream, $headers = [] )

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

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

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

Returns a stream pointing to the response body that can be used with all standard PHP stream functions.
public getStream ( )

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

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

Response content
protected $_content

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

Response body.
protected stream $_stream
Результат stream