Skip to content

feat(volo-http): add sse client support#644

Open
Joshuahoky wants to merge 2 commits intocloudwego:mainfrom
Joshuahoky:feat/sse_client_support
Open

feat(volo-http): add sse client support#644
Joshuahoky wants to merge 2 commits intocloudwego:mainfrom
Joshuahoky:feat/sse_client_support

Conversation

@Joshuahoky
Copy link
Collaborator

Motivation

SSE (Server-Sent Events) support was missing a client-side implementation for parsing SSE streams

Solution

Added SseReader for parsing SSE streams from server responses
Added SseExt extension trait on Response for converting a response into an SseReader via into_sse()
Added client and server examples demonstrating SSE usage

@Joshuahoky Joshuahoky requested review from a team as code owners March 16, 2026 08:39
@codecov
Copy link

codecov bot commented Mar 16, 2026

Codecov Report

❌ Patch coverage is 98.17073% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 44.87%. Comparing base (ff310f7) to head (7f13545).

Files with missing lines Patch % Lines
volo-http/src/client/sse.rs 98.17% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #644      +/-   ##
==========================================
+ Coverage   43.98%   44.87%   +0.88%     
==========================================
  Files         161      162       +1     
  Lines       19750    20078     +328     
==========================================
+ Hits         8687     9009     +322     
- Misses      11063    11069       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Joshuahoky Joshuahoky force-pushed the feat/sse_client_support branch from 24119b1 to 7f13545 Compare March 20, 2026 01:27
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.

1 participant