Documentation

Connector
in package

Table of Contents

Properties

$_connector  : mixed
$_loop  : mixed
$_negotiator  : mixed

Methods

__construct()  : mixed
__invoke()  : PromiseInterface
generateRequest()  : RequestInterface

Properties

Methods

__invoke()

public __invoke(string $url[, array<string|int, mixed> $subProtocols = [] ][, array<string|int, mixed> $headers = [] ]) : PromiseInterface
Parameters
$url : string
$subProtocols : array<string|int, mixed> = []
$headers : array<string|int, mixed> = []
Return values
PromiseInterface

generateRequest()

protected generateRequest(string $url, array<string|int, mixed> $subProtocols, array<string|int, mixed> $headers) : RequestInterface
Parameters
$url : string
$subProtocols : array<string|int, mixed>
$headers : array<string|int, mixed>
Tags
throws
InvalidArgumentException
Return values
RequestInterface

        
On this page

Search results