Expand description
§SSE Decoding
SSE utilities built on top of HttpByteStream.
Structs§
- SseMessage
- One EventSource-style message dispatch after
data:line reassembly. - SseReconnect
Options - Reconnect behavior options for
crate::HttpClient::execute_sse_with_reconnect.
Enums§
- Done
Marker Policy - Policy for stream completion marker matching.
- SseChunk
- Either a decoded JSON value from one SSE data payload or an explicit end marker.
- SseJson
Mode - How to handle JSON parse failures on SSE
data:lines.
Type Aliases§
- SseChunk
Stream - Pin-boxed stream of
SseChunkorHttpError. - SseMessage
Stream - Pin-boxed stream of parsed
SseMessagevalues orHttpError.