pub fn parse_sse_stream(
response: Response,
) -> impl Stream<Item = Result<RawSseEvent, SseError>>Expand description
Parse a reqwest streaming response into a stream of RawSseEvents.
The returned stream yields one item per SSE event (delimited by blank
lines). Comment lines (starting with :) are silently skipped.
Uses reqwest::Response::chunk() for incremental reads, which does not
require the stream cargo feature on reqwest.