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.

Re-exports§

pub use event_stream::EventStream;
pub use sse_parser::SseFrame;
pub use sse_parser::SseParseError;
pub use sse_parser::SseParser;

Modules§

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