PHP - Manual: Swoole\Http\Client::setData
2024-11-12
(PECL swoole >= 1.9.0)
Swoole\Http\Client::setData — Set the HTTP request body data.
$data
): ReturnTypeThe HTTP method will be changed to be POST.
data
官方地址:https://www.php.net/manual/en/swoole-http-client.setdata.php