Zhelyazko Atanasov
11/11/2024, 12:48 PMhttpClient.sseSession("bla-bla.com/sse").incoming.collect { ... }
Is there any way to detect such scenarios and probably I'd have to disconnect and re-connect the sseSession
? I came across this thread but there's no activity on the ticket.
The only idea I have is to use the Android's APIs for detecting internet connectivity and disconnect/connect the SSE session based on it (although the Android API not 100% reliable). I also don't know yet what will happen if the server drops the connection - will the client disconnect at some point or not.Aleksei Tirman [JB]
11/12/2024, 8:28 AMZhelyazko Atanasov
11/12/2024, 1:40 PMAleksei Tirman [JB]
11/12/2024, 2:14 PMZhelyazko Atanasov
11/12/2024, 2:21 PM