프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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. |
public getStream ( ) |