Skip to content

refactor(SSE): move static functions to extensions#9010

Merged
yschimke merged 9 commits into
lysine-dev:masterfrom
MukjepScarlet:refactor_sse
Aug 30, 2025
Merged

refactor(SSE): move static functions to extensions#9010
yschimke merged 9 commits into
lysine-dev:masterfrom
MukjepScarlet:refactor_sse

Conversation

@MukjepScarlet

Copy link
Copy Markdown
Contributor

Also added some comments for TODO blocks.

for lysine-dev/retrofit#4462

Comment thread okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt Outdated
Comment thread okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt
Comment thread okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt Outdated
Comment thread okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt Outdated
@yschimke

Copy link
Copy Markdown
Collaborator

@swankjesse requesting post API review. Seems like a good cleanup and more idiomatic Kotlin.

@yschimke
yschimke merged commit 09fb9a4 into lysine-dev:master Aug 30, 2025
25 checks passed
hugoncosta pushed a commit to hugoncosta/okhttp that referenced this pull request Aug 30, 2025
* refactor(SSE): move static functions to extensions
swankjesse added a commit that referenced this pull request Oct 2, 2025
swankjesse added a commit that referenced this pull request Oct 2, 2025
@swankjesse

Copy link
Copy Markdown
Collaborator

Reverted here. #9098

Discussion about why to revert on that PR.

swankjesse added a commit that referenced this pull request Oct 2, 2025
yschimke pushed a commit that referenced this pull request Oct 3, 2025
…9098)

* Revert "refactor(SSE): move static functions to extensions (#9010)"

This reverts commit 09fb9a4.

* Remove unnecessary control flow from a test (#9099)

Co-authored-by: Jesse Wilson <jwilson@squareup.com>

---------

Co-authored-by: Jesse Wilson <jwilson@squareup.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants