(PECL pecl_http >= 0.10.0)
HttpResponse::setFile — Set file
$file
)Set the file to be sent.
Зауваження: Previously calculated or defined ETag and Last-Modified will be recalculated and redefined.
file
the path to the file to send
Повертає TRUE
в успішному випадку або FALSE
в разі помилки.