1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-12 10:23:16 +03:00
Files
okhttp/okhttp-sse
Jesse Wilson 2f6a27f048 Split EventListener.retryDecision into retryDecision and followUpDecision (#8796)
* Split EventListener.retryDecision into retryDecision and followUpDecision

retryDecision has an exception, and is related to
connectivity failures.

followUpDecision has an intermediate response, and is
related to redirects and auth challenges.

This drops the reason strings, which have 'logging brain'
and I want to push our users towards 'metrics brain'.

* Spotless

* apiDump

* Fix another test

---------

Co-authored-by: Jesse Wilson <jwilson@squareup.com>
2025-05-27 10:58:02 -04:00
..
2023-12-17 10:34:10 -05:00

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:4.12.0")