nodejs/undici

How to handle text/event-stream?

クローズ

#536 opened on 2021/02/04

 (4 件のコメント) (1 件のリアクション) (0 人の担当者)JavaScript (444 件のフォーク)batch import
Docseventsourcegood first issue

Repository metrics

Stars
 (5,319 個のスター)
PR merge metrics
 (平均マージ 2d 10h) (30d で 82 merged PRs)

説明

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.

コントリビューターガイド