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.

贡献者指南