HttpResponse::setStream

Example

 static bool HttpResponse::setStream ( resource $stream ) 

Description

Set the resource to be sent. Note: Previously calculated or defined ETag and Last-Modified will be recalculated and redefined.

Return Values

Returns TRUE on success or FALSE on failure.