nodejs/undici

How to handle text/event-stream?

Closed

#536 opened on Feb 4, 2021

View on GitHub
 (4 comments) (1 reaction) (0 assignees)JavaScript (5,319 stars) (444 forks)batch import
Docseventsourcegood first issue

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