Opened 11 years ago

Closed 7 years ago

#12345 closed enhancement (patchwelcome)

Use AdapterRegistry for the "providers" of the dojox.socket

Reported by: rakeshpai Owned by: Kris Zyp
Priority: high Milestone: 1.13
Component: Dojox Version: 1.6.0rc1
Keywords: Cc:
Blocked By: Blocking:


Currently, dojox.socket only supports websockets and longpolling, both of which are "hard-wired". There's no way to add more providers. Some providers I can think of:

  • Flash sockets
  • Google Appengine Channels API
  • XHR2 based polling for x-domain sockets
  • JSON-P based polling for x-domain sockets

However, to implement these it'd be great if we can move to an adapter registry pattern (or similar) for feature discovery to decide when we could use one mechanism or the other.

Change History (2)

comment:1 Changed 11 years ago by Adam Peller

Component: GeneralDojox
Owner: changed from anonymous to Kris Zyp

comment:2 Changed 7 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 4+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.