PHP - Manual: Swoole\Http\Client::__construct
2025-10-27
(PECL swoole >= 1.9.0)
Swoole\Http\Client::__construct — Construct the async HTTP client.
hostThe hostname of the remote host.
portThe port number of the remote host.
sslWhether to enable SSL.
官方地址:https://www.php.net/manual/en/swoole-http-client.construct.php