Swoole\Http\Client::download
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Download a file from the remote server.
Description
Swoole\Http\Client::download(string $path, string $file, callable $callback, [int $offset]): void
Parameters
pathfilecallbackoffset