Skip to main content

Module streaming

Module streaming 

Source
Expand description

SSE client-side streaming support.

SseParser transforms raw bytes into SseFrames. EventStream wraps the parser and deserializes each frame as a a2a_protocol_types::StreamResponse.

Modules§

event_stream
Async SSE event stream with typed deserialization.
sse_parser
Server-Sent Events (SSE) frame parser.

Structs§

EventStream
An async stream of StreamResponse events from an SSE endpoint.
SseFrame
A fully-accumulated SSE event frame.
SseParser
Stateful SSE byte-stream parser.

Enums§

SseParseError
Errors that can occur during SSE parsing.