Aerys\Websocket\Endpoint interface Endpoint

Summary

Properties

Methods

Methods

send — public function send($clientId, string $data): Amp\Promise
No documentation.
Type Parameter Description Default Value
mixed $clientId No documentation. none
string $data No documentation. none
sendBinary — public function sendBinary($clientId, string $data): Amp\Promise
No documentation.
Type Parameter Description Default Value
mixed $clientId No documentation. none
string $data No documentation. none
close — public function close(int $clientId, int $code = Code::NORMAL_CLOSE, string $reason = "")
No documentation.
Type Parameter Description Default Value
int $clientId No documentation. none
int $code No documentation. Code::NORMAL_CLOSE
string $reason No documentation. ""
getInfo — public function getInfo(int $clientId): array
No documentation.
Type Parameter Description Default Value
int $clientId No documentation. none
getClients — public function getClients(): array
No documentation.