Swoole\Http\Response::sendfile

Send file through the HTTP response.

Description

public ReturnType Swoole\Http\Response::sendfile(string $filename, int $offset = ?)

Send file through the HTTP response.

Parameters

filename

offset

Return Values