Swoole\Server::sendfile
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Send file to the connection.
Description
Swoole\Server::sendfile(int $fd, string $filename, [int $offset]): bool
Func
Parameters
fdfilenameoffset