Swoole\Http\Client::download
(PECL swoole >= 1.9.0)
Swoole\Http\Client::download — Download a file from the remote server.
Description
public function Swoole\Http\Client::download(
string
string
callable
int
): void
string
$path,string
$file,callable
$callback,int
$offset = ?): void
Parameters
path
file
callback
offset
Return Values
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
