Документация PHP
| Документация DHTML | Документация Smarty | SVG/VML Графика и JavaScript
| Документация bash |
HttpResponse::setThrottleDelay
HttpResponse::setStream
(PECL pecl_http:0.10.0-1.5.5)
HttpResponse::setStream — Set 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 в случае возникновения ошибки.
Смотрите также
- HttpResponse::getData()
- HttpResponse::setData()
- HttpResponse::getFile()
- HttpResponse::setFile()
- HttpResponse::getStream()