Dan Ristic - Developer Evangelist
Connecting Everyone on Earth in Less Than ¼ Second
The core building-blocks needed to build and scale real-time apps dramatically reducing the cost, complexity, and time to deliver large-scale real-time experiences.
// Listen for events
PUBNUB.subscribe({
channel: "my_channel",
message: function (message) {
console.log(message);
}
});
// Send Events
PUBNUB.publish({
channel: "my_channel",
message: "Hello World!"
});