.. _dojox/cometd: dojox.cometd ============ :Status: Draft :Version: beta :Authors: Alex Russell, Greg Wilkins Low-latency data transfer from servers to clients. dojox.cometd implements a Bayeux protocol client for use with most Bayeux servers. See cometd.com for details on Cometd or on the Bayeux protocol. Basic Example ------------- Using dojox.cometd to connect to a Bayeux-compliant server is very straightforward: .. cv-compound:: As a simple example, we'll setup a chat room; we will subscribe to a channel and log any messages received. When you send a message it is published on this channel. You can open a couple browsers to and send messages back and forth to see this in action. Just enter your name and type a message and click send. .. cv:: javascript The html is a just a simple form to enter you name and message to send .. cv:: html