Swoole\Http\Client::addFile
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Add a file to the post form.
Description
Swoole\Http\Client::addFile(string $path, string $name, [string $type], [string $filename], [string $offset]): void
Parameters
pathnametypefilenameoffset