Functiondojox.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

Usage

function (/*String*/ channel, /*Object*/ data, /*Object?*/ props) (view source)
parametertypedescription
channelStringthe destination channel for the message
dataObjecta JSON object containing the message "payload" properties: Optional. Other meta-data to be mixed into the top-level of the message
propsObjectOptional.