HttpResponse::setStream
(PECL pecl_http >= 0.10.0)
HttpResponse::setStream — Set stream
Beschreibung
static
bool HttpResponse::setStream
( resource
$stream
)Set the resource to be sent.
Hinweis: Bereits berechnete oder definierte ETag- und Last-ModifiedWerte werden neu berechnet oder definiert.
Parameter-Liste
-
stream -
already opened stream from which the data to send will be read
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.
Siehe auch
- HttpResponse::getData() - Get data
- HttpResponse::setData() - Set data
- HttpResponse::getFile() - Get file
- HttpResponse::setFile() - Set file
- HttpResponse::getStream() - Get Stream
There are no user contributed notes for this page.
