reconnect method

void reconnect()

Force reconnect the WebSocket.

Useful when the subscription becomes stale after container shutdown.

Implementation

void reconnect() {
  developer.log('Reconnecting WebSocket', name: 'RemoteSessionManager');
  _websocket?.reconnect();
}