Opened 12 years ago

Closed 11 years ago

#11781 closed enhancement (fixed)

A simple WebSocket/Comet API

Reported by: Kris Zyp Owned by: Kris Zyp
Priority: high Milestone: 1.6
Component: IO Version: 1.5
Keywords: Cc:
Blocked By: Blocking:


Our dojox.cometd seems to be largely abandoned (I think Greg and company are working on cometd elsewhere) and the main show in town now is WebSocket?. There are a wide variety of different protocols and messaging formats for communication out there now. I think we should provide a simple lightweight API for using WebSocket? and falling back to basic XHR long-polling that is protocol/message format agnostic. This would fit well with our HTML5 push, and allow us to have a comet client without committing to a single format/protocol or have to maintain a large complicated system.

Attachments (1)

socket.js (2.7 KB) - added by Kris Zyp 12 years ago.
A rough sketch of an impl (untested)

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Kris Zyp

Attachment: socket.js added

A rough sketch of an impl (untested)

comment:1 Changed 11 years ago by Kris Zyp

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.