members
setAllowReconnect () true, false
setMetadata() if set password not null or empty, room will be also set to private. if set password to null or empty, room will be set to not private
onLeave = onLeave(client, consennted = true) onDisconnect will equal onLeave(client, consennted = true) onReconnect(client)
if setAllowReconnect = true, need to rejectReconnect() to force leave the connection
if leave ready disconnected client, it will throw exception
if set setAllowReconnect back to false , it will reject all disconnected clients
when onDispose() is call, update() will stop working.