PHP - Manual: Swoole\Http\Client::setHeaders
2024-11-15
(PECL swoole >= 1.9.0)
Swoole\Http\Client::setHeaders — Set the HTTP request headers.
$headers
headers
官方地址:https://www.php.net/manual/en/swoole-http-client.setheaders.php