dojox.cometd.publish
dojo.require("dojox.cometd._base");
defined in dojox/cometd/_base.js
publishes the passed message to the cometd server for delivery on the specified topic
parameter | type | description |
---|---|---|
channel | String | the destination channel for the message |
data | Object | a JSON object containing the message "payload" properties: Optional. Other meta-data to be mixed into the top-level of the message |
props | Object | Optional. |