Network Loss Resilience #
The Kuzzle Dart SDK provides tools that allow it to be used with an unstable network connection.
Automatic reconnection & resubscription #
The Kuzzle Dart SDK can automatically reconnect in case of a network disconnection and it can renew realtime subscriptions if there are any.
To control the auto reconnection feature with WebSocket (enabled by default), refer to the autoReconnect
option of the WebSocketProtocol object.
To control the auto resubscription (enabled by default), refer to the autoResubscribe
option of the subscribe object.
Edit this page on Github(opens new window)