Aerys\Websocket::onOpen PHP 메소드

onOpen() 공개 메소드

Invoked when the full two-way websocket upgrade completes
public onOpen ( integer $clientId, mixed $handshakeData )
$clientId integer A unique (to the current process) identifier for this client
$handshakeData mixed The return value from onHandshake() for this client
    public function onOpen(int $clientId, $handshakeData);