TriportRPC

Server-Sent Events (SSE)

Last updated:

Applies to: Stellar, all chains

In more detail

Browsers consume SSE through the EventSource interface. After a disconnect the client reconnects and sends a Last-Event-ID header with the last event id it saw, so a server that supports it can resume. Stellar's Horizon offers streaming on many endpoints when the request sets Accept: text/event-stream.

See also

Sources

All terms in the RPC and blockchain glossary