« Swoole\Http\Client::close
Swoole\Http\Client::__destruct »

Swoole\Http\Client::__construct

(PECL swoole >= 1.9.0)

Swoole\Http\Client::__construct — Construct the async HTTP client.

説明

public function Swoole\Http\Client::__construct(string $host, string $port = ?, bool $ssl = ?)

パラメータ

host

The hostname of the remote host.

port

The port number of the remote host.

ssl

Whether to enable SSL.

関連キーワード:
Swoole   Http   Client   host   Construct   async   client   construct   port   remote   destruct   swoole   hostname   number   Whether   enable
関連する関数・ページ:
swoole-http-client.destruct   swoole-http-client.close   swoole-http-client.set   swoole-http-client.get   swoole-http-client.download   swoole-http-client.setdata