Expand description
Server-Sent Events decoder (WHATWG EventSource framing): LF, CR and CRLF line
endings, multi-line data, comments, id, retry, BOM, bounded line size.
Structsยง
- SseDecoder
- Push-based decoder: feed bytes, receive completed events.
- SseEvent
- SseReader
- Blocking iterator of events over any reader. An event cut off by EOF is dropped, per the EventSource spec.