okhttp-eventsource
okhttp-eventsource copied to clipboard
Server-sent events (SSE) client implementation for Java, based on OkHttp: http://javadoc.io/doc/com.launchdarkly/okhttp-eventsource
It is often the case (especially for HTTP status 500) when many details are hidden in the headers/body of the HTTP server response. Since `OkHttp` library already constructs and provides...
Hello. I am using Android 4.4.2 and library version 1.11.1. When I attempt to call method restart() exception is thrown: ``` 08-15 17:49:35.302 7823-7823/com.test.apk E/com.test.apk.App:lambda$onCreate$0: java.lang.NoClassDefFoundError: com.launchdarkly.eventsource.EventSource$3 at com.launchdarkly.eventsource.EventSource.restart(EventSource.java:173) at...
Calling `EventSource.close()` throws an `android.os.NetworkOnMainThreadException` This call should have its internal logic that requires the network be on a background thread or update the docs to note that calling `close()`...
Hi, my SSE server emits a steady stream of events but will occasionally emit high frequency bursts. I have realised that when my SSE server emits events at a very...
## Affected version 4.1.1 ## Problem Okhttp connection won't closed properly after closing EventSource when SSE stream is not fully consumed. ## Reproduce code ```java package moe.nemesiss.playground; import com.launchdarkly.eventsource.ConnectStrategy; import...
Hi, I'm using version 4.1.0 of the library. I'm calling `eventsource.start()` method to connect to the server. I see that the library internally calls `call.execute()` This `call.execute()` doesn't return anything...
com.launchdarkly okhttp-eventsource 4.1.0 com.squareup.okhttp3 okhttp 4.9.0 ============================ Even after adding the transitive dependencies. Issues: Maven dependencies is not resolved in intellij idea 2023.1 ( Ubuntu 22.04 LTS) =========================================================== Hello Team,...