duality-labs / hapi-indexer

A Node.js based indexer for the Duality Cosmos chain
1 stars 0 forks source link

Add HTTP/2 SSE data updates for certain indexer endpoints #28

Closed dib542 closed 10 months ago

dib542 commented 11 months ago

"server-side events" or SSE is an efficient method of data updates when supported by the networking transport layer (using HTTP/2). see: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events

SSE could be used to stream real-time data updates of the endpoint resources of the indexer