HttpResponse::setStream
(PECL pecl_http:0.10.0-1.5.5)
HttpResponse::setStream — Set stream
Descrição
static
bool HttpResponse::setStream
( resource $stream
)
Set the resource to be sent.
Nota: ETag Last-Modified previamente calculado ou definido serão recalculados e redefinidos.
Parâmetros
- stream
-
already opened stream from which the data to send will be read
Valor Retornado
Retorna TRUE em caso de sucesso ou FALSE em falhas.
User Contributed Notes
HttpResponse::setStream
HttpResponse::setStream
There are no user contributed notes for this page.

HttpResponse::setLastModified