class ClientFactory implements ClientFactoryInterface

Methods

make(string $host, int $port = 80, bool $ssl = false, array $settings = [])

Create a new HTTP/2 client instance.

Details

at line 15
ClientInterface make(string $host, int $port = 80, bool $ssl = false, array $settings = [])

Create a new HTTP/2 client instance.

Parameters

string $host
int $port
bool $ssl
array $settings

Return Value

ClientInterface