play-co / hookbox

HookBox is a Comet server and message queue that tightly integrates with your existing web application via web hooks and a REST interface.
http://hookbox.org
MIT License
284 stars 23 forks source link

Add payload to connect #84

Open jordoh opened 14 years ago

jordoh commented 14 years ago

The most immediate impact of these changes is the addition of an extra argument to the javascript connect function, and the re-ordering of the CONNECTED and SUBSCRIBED (via auto_subscribe on connect) frames.

This also includes a fix for values returned by the connect webhook that are not actual user options (e.g. "auto_subscribe").