ga-wdi-boston/rails-api-template

Add server sent events

Opened this issue · 1 comments

gaand commented

All events should be served by the same (set of) thread(s).

Clients adding events should close and reopen connection.

Requires much improved EventResource wrapper.

Possibly use rails 5 cables rather than SSE.

gaand commented

See Game Project Api for part of the solution.

On further reflection, clients shouldn't need to close/reopen for new events. Server shoudl add/remove events added/deleted to/from list of LISTENed events.