http
PHP Manual

HttpResponse::setStream

(PECL pecl_http:0.10.0-1.5.5)

HttpResponse::setStream — Set stream

Descripción

static bool HttpResponse::setStream ( resource $stream )

Set the resource to be sent.

Note: Previously calculated or defined ETag and Last-Modified will be recalculated and redefined.

Lista de parámetros

stream

already opened stream from which the data to send will be read

Valores retornados

Devuelve TRUE si todo se llevó a cabo correctamente, FALSE en caso de fallo.

Ver también


http
PHP Manual