atmosphere

https://github.com/Atmosphere/atmosphere-javascript

A browser-side JavaScript client for the Atmosphere

ws, websocket, sse, serversentevents, comet, streaming, longpolling