nodejs/undici

How to handle text/event-stream?

Closed

#536 opened on Feb 4, 2021

 (4 comments) (1 reaction) (0 assignees)JavaScript (444 forks)batch import
Docseventsourcegood first issue

Repository metrics

Stars
 (5,319 stars)
PR merge metrics
 (Avg merge 2d 10h) (82 merged PRs in 30d)

Description

I think text/event-stream responses should be handled as an upgrade and the socket released from the undici client (like with websockets).

Edit: this is done but docs for EventSource are missing.

Contributor guide