Swoole\Server::sendfile

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Server::sendfileSend file to the connection.

˵��

public Swoole\Server::sendfile ( integer $fd , string $filename [, integer $offset ] ) : boolean

Warning

��������δ��д�ĵ������в����б�

����

fd

filename

offset

����ֵ