PHP 8.1.28 Released!

Swoole\Client::sendfile

(PECL swoole >= 1.9.0)

Swoole\Client::sendfileEnvia arquivo para o socket TCP remoto.

Descrição

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

Este é um invólucro da chamada de sistema Linux sendfile.

Parâmetros

filename

O caminho do arquivo a ser enviado.

offset

O deslocamento do arquivo a ser enviado.

Valor Retornado

add a note

User Contributed Notes

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