Expand description
SSE types and frame parser for JMAP push notifications. Spec: RFC 8620 §7.3 (Push via Server-Sent Events) Wire format: RFC 8895 (Server-Sent Events)
Structs§
- SseFrame
- A parsed SSE frame: the event and the
id:line value (if any).
Enums§
- SseEvent
- A parsed SSE event from a JMAP event source (RFC 8620 §7.3).
Functions§
- parse_
sse_ block - Parse a single SSE block (the text between two blank lines) into an
SseFrame.