Aerys\Websocket\Rfc6455EndpointProxy classRfc6455EndpointProxy implementsAerys\Websocket\Endpoint

Summary

Properties

Methods

Properties

Methods

__construct —public function__construct(Aerys\Websocket\Rfc6455Endpoint$endpoint)
No documentation.
Type Parameter Description Default Value
Aerys\Websocket\Rfc6455Endpoint $endpoint No documentation. none
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.