Property | Type | Description | |
---|---|---|---|
$code | integer | HTTP response code. | |
$headers | array | Response headers. | |
$httpVersion | float | HTTP protocol version that was used. | |
$uri | string | Fetched URI. |
Property | Type | Description | |
---|---|---|---|
$_headers | Horde_Support_CaseInsensitiveArray | Case-insensitive list of headers. |
Method | Description | |
---|---|---|
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. |
Method | Description | |
---|---|---|
_parseHeaders ( array $headers ) : array | Parses an array of response headers, mindful of line continuations, etc. |
protected _parseHeaders ( array $headers ) : array | ||
$headers | array | |
return | array |
public getStream ( ) |
protected Horde_Support_CaseInsensitiveArray $_headers | ||
return | Horde_Support_CaseInsensitiveArray |
public float $httpVersion | ||
return | float |