Swoole\Http\Client::download

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

Descripción

public Swoole\Http\Client::download ( string $path , string $file , callable $callback [, integer $offset ] ) : void

Parámetros

path

file

callback

offset

Valores devueltos