Re:WebSockets is a stream, not a message based protocol
by scarmig on Wednesday December 21, 2011 @11:49AM
(#3378097)
Which browsers have implemented SSE/EventSource?
[ Parent
| on HN ]
Re:WebSockets is a stream, not a message based protocol
by pornel on Wednesday December 21, 2011 @11:59AM
(#3378140)
All except IE and Android, as usual.
http://www.caniuse.com/#search=eventsource
However, since SSE is HTTP-compatible you can easily implement fallback for these, e.g.
Re:WebSockets is a stream, not a message based protocol
by scarmig on Wednesday December 21, 2011 @12:24PM
(#3378260)
Wow, I seem to have missed the boat on caniuse.com =)
Thanks for the info, everyone.
Re:WebSockets is a stream, not a message based protocol
by samwillis on Wednesday December 21, 2011 @12:04PM
(#3378171)
http://caniuse.com/#search=eventsource
Firefox, Chrome, Safari and Opera all have it. I believe IE10 will have it but I cant find a reference right now.
This seems to be the nicest shim to let you use EventSource on older browsers https://github.com/Yaffle/EventSource, I did make something similar myself but this is much more complete.
Re:WebSockets is a stream, not a message based protocol
by laughinghan on Wednesday December 21, 2011 @12:07PM
(#3378182)
Chrome 13+, Firefox 6+, Safari 5+, Opera 11+. No IE support on the horizon, though.