Module streaming

Source
Expand description

SSE streaming utilities.

Structs§

BaseStreamer
A streaming response handler.

Enums§

DoneState
Represents the current state of a streaming response.

Constants§

DEFAULT_KEEP_ALIVE_INTERVAL_MS
Default keep-alive interval for Server-Sent Events (SSE) streams in milliseconds.

Functions§

get_keep_alive_interval
Gets the keep-alive interval for SSE streams from environment or default.