Skip to main content

Module sse

Module sse 

Source
Expand description

§SSE Decoding

SSE utilities built on top of HttpByteStream.

Structs§

SseMessage
One EventSource-style message dispatch after data: line reassembly.
SseReconnectOptions
Reconnect behavior options for crate::HttpClient::execute_sse_with_reconnect.

Enums§

DoneMarkerPolicy
Policy for stream completion marker matching.
SseChunk
Either a decoded JSON value from one SSE data payload or an explicit end marker.
SseJsonMode
How to handle JSON parse failures on SSE data: lines.

Type Aliases§

SseChunkStream
Pin-boxed stream of SseChunk or HttpError.
SseMessageStream
Pin-boxed stream of parsed SseMessage values or HttpError.