nodejs/undici

How to handle text/event-stream?

Closed

#536 建立於 2021年2月4日

在 GitHub 查看
 (4 留言) (1 反應) (0 負責人)JavaScript (5,319 star) (444 fork)batch import
Docseventsourcegood first issue

描述

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.

貢獻者指南