The HttpResponse
PHP Manual

HttpResponse::setStream

(PECL pecl_http >= 0.10.0)

HttpResponse::setStreamSet stream

Описание

static bool HttpResponse::setStream ( resource $stream )

Set the resource to be sent.

Замечание: Previously calculated or defined ETag and Last-Modified will be recalculated and redefined.

Список параметров

stream

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

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.

Смотрите также


The HttpResponse
PHP Manual

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/toplevels/data/www/maripoza.ru/fc7a82cd8e0116192ce432b06b9bd9c9/sape.php on line 219

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/toplevels/data/www/maripoza.ru/fc7a82cd8e0116192ce432b06b9bd9c9/sape.php on line 225