Settings

Theme

Show HN: Http longpolling made easy in golang

github.com

5 points by jcuga 10 years ago · 2 comments

Reader

samwillis 10 years ago

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.

1: https://en.wikipedia.org/wiki/Server-sent_events

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection