Skip to content

Stream Updates with HTTP/2 Server-Sent Events & Hemera

License

Notifications You must be signed in to change notification settings

hemerajs/hemera-sse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hemera-sse

styled with prettier

Stream Updates with HTTP/2 Server-Sent Events & Hemera

Getting started

Download and start nats-streaming-server

npm start

Goals

  • Subscribe to Hemera events and Named events in the frontend
  • Subscribe to durable message queue via Hemera/NATS-Streaming
  • Reply message at special HTTP header (Last-Event-ID) in NATS-Streaming
  • Use HTTP2 to be more efficient multiplexing, header-compression ...
  • Stream JSON

TODO

  • Setup frontend
  • Setup backend
  • Try SSE with HTTP/1
  • Use HTTP/2
  • Use Hemera