You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any guidance on how to handle the reconnection to my relay server after the websocket connection dropped (for any reason). Is there an event on the client to listen when the connection drops and to somehow reconnect and resume the previous session?
The text was updated successfully, but these errors were encountered:
Hi, how do you detect a disconnection in your app? I'm trying to follow the code. RealtimeAPI creates the websocket and listens for 'close' and 'error' events. Both cases dispatch a 'close' event via inherited RealtimeEventHandler. RealtimeClient has property "realtime" so listening to 'close' on realtime should work...
Any guidance on how to handle the reconnection to my relay server after the websocket connection dropped (for any reason). Is there an event on the client to listen when the connection drops and to somehow reconnect and resume the previous session?
The text was updated successfully, but these errors were encountered: