Pusheo Documentation

Step by step instructions for easy installation and configuration of Pusheo.

Subscribe

After initializing pusheo object, subscribe to channel using this object. A channel can be any valid alphanumeric string.

a. Normal mode and Subscribe only mode:

cometClient.subscribe("channel");

b. Publish only mode (Pass channel as null or ""):

cometClient.subscribe(null);