Swoole\Http\Response::sendfile
(PECL swoole >= 1.9.0)
Swoole\Http\Response::sendfile — Отправляет файл через HTTP-ответ
Описание
public Swoole\Http\Response::sendfile
( string
$filename
, int $offset = ?
) : ReturnTypeОтправляет файл через HTTP-ответ.
Список параметров
-
filename -
-
offset -
Возвращаемые значения