functions.php
Table of Contents
Functions
- connect() : PromiseInterface<string|int, WebSocket>
Functions
connect()
connect(string $url[, array<string|int, mixed> $subProtocols = [] ][, array<string|int, mixed> $headers = [] ][, LoopInterface|null $loop = null ]) : PromiseInterface<string|int, WebSocket>
Parameters
- $url : string
- $subProtocols : array<string|int, mixed> = []
- $headers : array<string|int, mixed> = []
- $loop : LoopInterface|null = null