Open
Description
Use case
We are building a messaging SDK on top of Apollo and we would like to expose a state of the websocket connexion so that we can display in the UI when we are offline. This would be useful to let the user know that they won't receive messages live until they have network again.
Describe the solution you'd like
Right now the only solution I found is to implement my own WebSocketEngine
and provide it to Apollo
. But I ended up copy/pasting basically all the code from OkHttpWebSocketEngine
and it's not really futureproof.