PHP 8.1.28 Released!

Swoole\Http\Client::__construct

(PECL swoole >= 1.9.0)

Swoole\Http\Client::__constructConstrói o cliente HTTP assíncrono.

Descrição

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

Parâmetros

host

O nome do host remoto.

port

O número da porta do host remoto.

ssl

Se deve habilitar SSL.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top