deepstream.io-client-cpp icon indicating copy to clipboard operation
deepstream.io-client-cpp copied to clipboard

Connection reconnects considerations

Open AlexBHarley opened this issue 8 years ago • 0 comments

We should consider what to do in the following circumstances

  • internet loss, in Android you can listen to network changes, so we want to be able to open the client again when we get a connection. Unsure if this is possible with web apis (not that C++ client will be used in browser).

  • also when apps come in and out of focus. Do we want to keep client alive? (Push notifications?) Research needs to be done here

Yasserf: Generally, we want to have a 'pause' and 'resume' API that can take these things into consideration!

AlexBHarley avatar Apr 13 '17 12:04 AlexBHarley