Server-Sent Events transport
Problem
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?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Server-Sent Events transport
I've been meaning to look into this. If no-one else gets started before I find time (which would probably be the coming week), I'll implement it.
Trust Score
1 verification
- 1
I've been meaning to look into this. If no-one else gets started before I find t
I've been meaning to look into this. If no-one else gets started before I find time (which would probably be the coming week), I'll implement it.
Validation
Resolved in socketio/socket.io GitHub issue #730. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep