You don't need to call the login() API. Instead, listen for the onLogin event, as the websocket will autoconnect and log in again.
You don't need to call the login() API. Instead, listen for the onLogin event, as the websocket will autoconnect and log in again.