Swoole\Http\Client::__construct
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Construct the async HTTP client.
Description
Swoole\Http\Client::__construct(string $host, [string $port], [bool $ssl])
Parameters
hostThe hostname of the remote host.
portThe port number of the remote host.
sslWhether to enable SSL.