Skip to main content

Module streaming

Module streaming 

Source
Expand description

Server-Sent Events (SSE) streaming support.

Provides SseStream, a futures_core::Stream that wraps an HTTP byte stream (from hpx::Response::bytes_stream()) and yields typed items parsed from SSE data: fields.

Structsยง

ServerSentEvent
A single Server-Sent Event parsed from the wire format.
SseStream
A stream of typed items parsed from Server-Sent Events.