PHP 8.4.0 RC4 available for testing

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

返回值

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top