Property | Type | Description | |
---|---|---|---|
$_content | Response content | ||
$_stream | stream | Response body. |
Method | Description | |
---|---|---|
__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. |
public getStream ( ) |