Expand description
I/O-free coroutine decoding a W3C Server-Sent Events stream. Line-oriented and infallible: the parser never terminates and the outer driver stops when the body stream closes.
Structs§
- SseFrame
- One dispatched Server-Sent Event.
eventisNonewhen theevent:field was absent;datahas the trailing newline stripped. - SseFrame
Parser - I/O-free Server-Sent Events frame parser.
Enums§
- SseFrame
Parser Yield - Per-step yield emitted by
SseFrameParser.