HttpResponse::setStream
(PECL pecl_http >= 0.10.0)
HttpResponse::setStream — Set stream
Descrierea
static
bool HttpResponse::setStream
( resource $stream
)
Set the resource to be sent.
Notă: ETag şi Last-Modified calculate sau definite anterior vor fi recalculate sau redefinite.
Parametri
- stream
-
already opened stream from which the data to send will be read
Valorile întroarse
Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eşecului.
Vedeţi de asemenea
- HttpResponse::getData - Get data
- HttpResponse::setData - Set data
- HttpResponse::getFile - Get file
- HttpResponse::setFile - Set file
- HttpResponse::getStream - Get Stream
HttpResponse::setStream
There are no user contributed notes for this page.
