Swoole\Http\Client::download

(PECL swoole >= 1.9.0)

Swoole\Http\Client::downloadDownload a file from the remote server.

说明

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

参数

path

file

callback

offset

返回值

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

备份地址:http://www.lvesu.com/blog/php/swoole-http-client.download.php