LearnBoost/socket.io — Issue #730: Server-Sent Events transport
Author: mscdex
Created: 2012-01-27 10:49:10+00:00
State: open

I recently wrote a transport for using XHR for sending and Server-Sent Events for receiving. In my opinion SSE provides a great alternative to the overhead of websockets (especially if you're mostly receiving data and not sending very often).

Also, there were some recent changes to the SSE editor's draft that show possible upcoming support for cross-origin usage: http://dev.w3.org/html5/eventsource/. Mozilla has already committed changes to utilize this usage based on this draft: https://hg.mozilla.org/mozilla-central/rev/ed783dfd8179. This will make SSE even more handy/useful. I have already taken the initiative to add support for this in the transport as well.

Is there any interest in adding a transport like this?