nodejs/undici

How to handle text/event-stream?

Chiusa

#536 aperta il 4 feb 2021

 (4 commenti) (1 reazione) (0 assegnatari)JavaScript (444 fork)batch import
Docseventsourcegood first issue

Metriche repository

Star
 (5319 stelle)
Metriche merge PR
 (Merge medio 2g 10h) (82 PR mergiate in 30 g)

Descrizione

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.

Guida contributor