HttpResponse::setStream
(PECL pecl_http >= 0.10.0)
HttpResponse::setStream — Set stream
Opis
static
bool HttpResponse::setStream
( resource
$stream
)Set the resource to be sent.
Informacja: Wcześniej obliczony lub zdefiniowany ETag i Last-Modified zostanie obliczony ponownie i zdefiniowany.
Parametry
-
stream -
already opened stream from which the data to send will be read
Zwracane wartości
Zwraca TRUE w przypadku powodzenia, FALSE w
przypadku błędu.
Zobacz też:
- 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.
