connect

fun connect()

Initiates the process of connecting to the socket, using user's token provider. In case of failure, the room will try to reconnect the number of times specified in maxReconnectAttempts, defaulting to 3 attempts.