@@ -48,17 +48,13 @@ Monetization, access control, and real-time data delivery.
4848The current ` mode: stream ` sends one event per connection. The next iteration holds the connection open and pushes
4949multiple signed events as the upstream data changes:
5050
51- - ** Continuous signed updates** : the airnode re-queries the upstream API on an interval (or in response to upstream
52- changes) and pushes each new signed result as an SSE event. Each event runs through the full plugin pipeline and
53- carries its own EIP-191 signature.
54- - ** Upstream proxy streaming** : if the upstream API itself supports streaming (chunked transfer encoding, SSE, or
55- WebSocket), the airnode proxies each chunk -- signing and forwarding incrementally rather than waiting for a complete
56- response.
51+ - ** Continuous signed updates** : the airnode re-queries the upstream API on an interval and pushes each new signed
52+ result as an SSE event. Each event is a complete signed response that ran through the full plugin pipeline and
53+ carries its own EIP-191 signature -- partial responses are never sent.
5754- ** EventSource reconnection** : SSE has built-in automatic reconnection. Clients that disconnect and reconnect receive
58- the next signed update without any client-side retry logic. The ` done: true ` field in the event payload distinguishes
59- the final event from intermediate updates.
55+ the next signed update without any client-side retry logic.
6056- ** Backpressure and flow control** : when the upstream produces data faster than the client consumes it, the server
61- buffers or drops stale events (keeping only the latest signed value) to prevent unbounded memory growth.
57+ drops stale events (keeping only the latest signed value) to prevent unbounded memory growth.
6258
6359This turns an endpoint into a real-time signed data stream without changing client code -- existing ` EventSource `
6460clients that work with the single-event implementation will automatically receive continuous updates when the server
0 commit comments