GoLang Swoole\Http\Response::sendfile

request it (102)
GoLang replacement for PHP's Swoole\Http\Response::sendfile [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Http\Response::sendfile? Write it!

PHP Swoole\Http\Response::sendfile

PHP original manual for Swoole\Http\Response::sendfile [ show | php.net ]

Swoole\Http\Response::sendfile

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

Swoole\Http\Response::sendfileSend 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