HttpResponse::setFile
(PECL pecl_http:0.10.0-1.5.5)
HttpResponse::setFile — Set file
Opis
static
bool HttpResponse::setFile
( string $file
)
Set the file to be sent.
Informacja: Wcześniej obliczony lub zdefiniowany ETag i Last-Modified zostanie obliczony ponownie i zdefiniowany.
Parametry
- file
-
the path to the file to send
Zwracane wartości
Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.
HttpResponse::setFile
There are no user contributed notes for this page.
