eventsource-parser icon indicating copy to clipboard operation
eventsource-parser copied to clipboard

Streaming, source-agnostic EventSource/Server-Sent Events parser

Results 2 eventsource-parser issues
Sort by recently updated
recently updated
newest added

How do I catch in such scenarios: `str` is rightly printed but when it enters `parser.feed`, it gets stuck and never returns; nor does it throw any errors. And hence...

https://developer.mozilla.org/en-US/docs/Web/API/EventSource# ![image](https://github.com/rexxars/eventsource-parser/assets/99134191/b6a05cd9-8f91-42e9-8086-b8671aa003b6) Other language parsers behave consistently and set the value of `event` to `message` when the `event` does not exist.