Swoole\Http\Client::download

Download a file from the remote server.

Description

public void Swoole\Http\Client::download(
    string $path,
    string $file,
    callable $callback,
    int $offset = ?
)

Parameters

path

file

callback

offset

Return Values