GoLang Swoole\Server::sendfile

request it (355)
GoLang replacement for PHP's Swoole\Server::sendfile [edit | history]



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

PHP Swoole\Server::sendfile

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

Swoole\Server::sendfile

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

Swoole\Server::sendfileSend file to the connection.

Description

public boolean Swoole\Server::sendfile ( integer $fd , string $filename [, integer $offset ] )

Warning

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

Parameters

fd

filename

offset

Return Values