Skip to main content

Module sse

Module sse 

Source
Expand description

SSE (Server-Sent Events) streaming support.

This module provides SSE subscription with reconnection and backoff.

Structsยง

RawSseEvent
Raw SSE message frame as delivered by the /event endpoint.
RawSseSubscription
Handle to an active raw SSE subscription.
SessionEventRouter
Multiplexes one upstream /event stream into per-session subscriptions.
SessionEventRouterOptions
Options for SessionEventRouter.
SseOptions
Options for SSE subscription.
SseStreamStats
Snapshot of SSE stream diagnostics counters.
SseSubscriber
SSE subscriber for OpenCode events.
SseSubscription
Handle to an active SSE subscription.