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. By default an event cut off by EOF is
dropped, per the EventSource spec; see
SseReader::eof_policy.
Enums§
- EofPolicy
- What a reader does with an event cut off by end of stream.