Aerys\Websocket\Endpoint interfaceEndpoint

Summary

Properties

Methods

Methods

send —public functionsend($clientId,string$data):Amp\Promise
No documentation.
Type Parameter Description Default Value
mixed $clientId No documentation. none
string $data No documentation. none
sendBinary —public functionsendBinary($clientId,string$data):Amp\Promise
No documentation.
Type Parameter Description Default Value
mixed $clientId No documentation. none
string $data No documentation. none
close —public functionclose(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 functiongetInfo(int$clientId):array
No documentation.
Type Parameter Description Default Value
int $clientId No documentation. none
getClients —public functiongetClients():array
No documentation.