Error
Opened this issue · 1 comments
aiaal-n commented
How check this error Undefined property: Ratchet\Server\IoConnection::$id ?
machour commented
This is because you need to initialize the properties you want to use on the init() method of your server:
$this->on(self::EVENT_CLIENT_CONNECTED, function (WSClientEvent $e) {
$e->client->id = null; // this
});