whenConnected

open override fun whenConnected(connectionTimeout: Long, connected: suspend (connectionId: String) -> Unit)

When connected to the socket.