PHP Manual
Function Reference
Other Basic Extensions
Swoole
Swoole\Http\Client
Swoole\Http\Client::addFile
Swoole\Http\Client::close
Swoole\Http\Client::__construct
Swoole\Http\Client::__destruct
Swoole\Http\Client::download
Swoole\Http\Client::execute
Swoole\Http\Client::get
Swoole\Http\Client::isConnected
Swoole\Http\Client::on
Swoole\Http\Client::post
Swoole\Http\Client::push
Swoole\Http\Client::set
Swoole\Http\Client::setCookies
Swoole\Http\Client::setData
Swoole\Http\Client::setHeaders
Swoole\Http\Client::setMethod
Swoole\Http\Client::upgrade
Swoole\Http\Client
Swoole\Http\Client::close
Swoole\Http\Client
PHP Manual
Swoole\Http\Client::addFile
Add a file to the post form.
Description
public
void
Swoole\Http\Client::addFile
(
string
$path
,
string
$name
,
string
$type
= ?
,
string
$filename
= ?
,
string
$offset
= ?
)
Parameters
path
name
type
filename
offset
Return Values