Свойство | Тип | Описание | |
---|---|---|---|
$code | integer | HTTP response code. | |
$headers | array | Response headers. | |
$httpVersion | float | HTTP protocol version that was used. | |
$uri | string | Fetched URI. |
Свойство | Тип | Описание | |
---|---|---|---|
$_headers | Horde_Support_CaseInsensitiveArray | Case-insensitive list of headers. |
Метод | Описание | |
---|---|---|
getBody ( ) : string | Returns the body of the HTTP response. | |
getHeader ( string $header ) : string | Returns the value of a single response header. | |
getStream ( ) | Returns a stream pointing to the response body that can be used with all standard PHP stream functions. |
Метод | Описание | |
---|---|---|
_parseHeaders ( array $headers ) : array | Parses an array of response headers, mindful of line continuations, etc. |
protected _parseHeaders ( array $headers ) : array | ||
$headers | array | |
Результат | array |
public getStream ( ) |
protected Horde_Support_CaseInsensitiveArray $_headers | ||
Результат | Horde_Support_CaseInsensitiveArray |
public float $httpVersion | ||
Результат | float |