牛牛在线工具

Swoole\Http\Response::sendfile()

收录 8868 个 PHP 函数,含用途说明与用法示例。

Swoole\Http\Response::sendfile()

通过HTTP响应发送文件

适用版本(PECL swoole >= 1.9.0) Swoole\Http\Response::sendfile — 通过HTTP响应发送文件。 说明 public Swoole\Http\Response::sendfile(string $filename, int $offset = ?): ReturnType 通过HTTP响应发送文件。 参数 filename offset 返回值