mirror of
https://github.com/square/okhttp.git
synced 2025-11-05 12:17:34 +08:00
The first half is EventListenerAdapter, which mechanically converts event function calls and emits event objects. The second half is EventRecorder, which validates that the right events are published. This is in preparation for a follow-up where I intend to dynamically add EventListeners to a Call. Co-authored-by: Jesse Wilson <jwilson@squareup.com>
OkHttp Server-Sent Events
Experimental support for server-sent events. API is not considered stable and may change at any time.
Download
testImplementation("com.squareup.okhttp3:okhttp-sse:5.3.0")