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.

Description

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

Parameters

path

file

callback

offset

Return Values

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top