Re:Show HN: Http longpolling made easy in golang
by samwillis on Wednesday November 11, 2015 @01:44PM
(#10548359)
You should have a look at adding Server Sent Events / EventSource support [1]. Its propper streaming events, not closing the connection (not web socket, just http) that fall back to long polling.
Most of the time when people use websockets they should just be using SSE.
Most of the time when people use websockets they should just be using SSE.
1: https://en.wikipedia.org/wiki/Server-sent_events