Client configuration properties
The client can set the following URL parameters when
sending the initial request to register for push notifications. All
parameters are optional. If not specified, default values are
used.
- key
- Specifies one or more notification keys that the client is
interested in receiving notifications for. If not specified, the
client receives notifications for all keys. The parameter can be
specified multiple times. For example,
key=
key1
&key=key2
...&key=keyN
. - mode
- Specifies the Comet mode for the client. Valid values are 0 for data streaming and 1 for long polling. If not specified, data streaming applies by default.
- callback
- Specifies the name of JavaScript callback function to invoke. The notification is passed in as the value for the parameter. For more information, see JavaScript callback function.