Swoole\Client::sendfile
(PECL swoole >= 1.9.0)
Swoole\Client::sendfile — Send file to the remote TCP socket.
Description
This is a wrapper of the Linux sendfile system call.
Parameters
filename
File path of the file to send.
offset
Offset of the file to send
Return Values
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
