undici icon indicating copy to clipboard operation
undici copied to clipboard

How to handle text/event-stream?

Open ronag opened this issue 3 years ago • 2 comments

I think text/event-stream responses should be handled as an upgrade and the socket released from the undici client (like with websockets).

ronag avatar Feb 04 '21 13:02 ronag

@mcollina wdyt?

ronag avatar Feb 04 '21 13:02 ronag

I agree! Supporting it would need some work on the client.

mcollina avatar Feb 04 '21 16:02 mcollina