Skip to main content

Module stream_adapter

Module stream_adapter 

Source
Expand description

Runtime SSE adaptation for cross-protocol content-generation streams.

Structs§

ResponsesStreamNormalizer
Stateful normalizer for an upstream that already speaks Responses SSE.
SseTransformer

Functions§

aggregate_buffered
Collapse a provider SSE stream into one response JSON of the same wire kind.
convert_buffered
Convert a fully-buffered SSE body.
synthesize_sse
Turn one complete response into the smallest useful SSE event sequence.