Swoole\Http\Response::sendfile
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Send file through the HTTP response.
Description
Swoole\Http\Response::sendfile(string $filename, [int $offset]): ReturnType
Send file through the HTTP response.
Parameters
filenameoffset