PHP Class Horde_Http_Response_Fopen, horde

Author: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_Http_Response_Base
Mostrar archivo Open project: horde/horde

Protected Properties

Property Type Description
$_content Response content
$_stream stream Response body.

Public Methods

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.

Method Details

__construct() public method

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

getBody() public method

Returns the body of the HTTP response.
public getBody ( ) : string
return string HTTP response body.

getStream() public method

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

Property Details

$_content protected_oe property

Response content
protected $_content

$_stream protected_oe property

Response body.
protected stream $_stream
return stream