docs: add EventSource server example by Will-thom · Pull Request #5321 · nodejs/undici (original) (raw)
Summary
- add a self-contained EventSource server/client example to the API docs
- clarify named events vs default message events
- fix minor wording in the EventSource docs
Closes #536
Testing
- git diff --check
Signed-off-by: Will-thom 116388885+Will-thom@users.noreply.github.com
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Codecov Report
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.23%. Comparing base (f51afa0) to head (b670831).
Additional details and impacted files
@@ Coverage Diff @@ ## main #5321 +/- ##
Coverage 93.22% 93.23%
Files 110 110
Lines 36599 36599
- Hits 34120 34122 +2
- Misses 2479 2477 -2
☔ 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.
- 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})