undici
undici copied to clipboard
feat: support long polling requests and event-source responses
Needs tests
This logic is only relevant when pipelining > 1 and ensures that no more requests are enqueued.
Codecov Report
Merging #538 (020f6ea) into master (8aa5ad1) will decrease coverage by
0.07%
. The diff coverage is93.33%
.
@@ Coverage Diff @@
## master #538 +/- ##
==========================================
- Coverage 99.63% 99.56% -0.08%
==========================================
Files 16 16
Lines 1365 1375 +10
==========================================
+ Hits 1360 1369 +9
- Misses 5 6 +1
Impacted Files | Coverage Δ | |
---|---|---|
lib/core/symbols.js | 100.00% <ø> (ø) |
|
lib/core/client.js | 99.30% <92.85%> (-0.17%) |
:arrow_down: |
lib/core/request.js | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 8aa5ad1...e88b0f7. Read the comment docs.
This is an implementation of SSR or pure long-polling? (I'm asking because I see the text/event-stream
header involved) :)