deepstreamIO / deepstream.io-client-cpp

deepstream.io C++ client library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection reconnects considerations

AlexBHarley opened this issue · comments

commented

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!