PHP 8.4.2 Released!

Swoole\Server::sendfile

(PECL swoole >= 1.9.0)

Swoole\Server::sendfileSend file to the connection.

Description

public Swoole\Server::sendfile(int $fd, string $filename, int $offset = ?): bool

Warning

This function is currently not documented; only its argument list is available.

Parameters

fd

filename

offset

Return Values

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top