Newer Version Available

This content describes an older version of this product. View Latest

Example: Interactive Visualforce Page

This code example shows you how to implement Streaming API from a Visualforce page. On the page, you enter the name of the PushTopic channel you want to subscribe to and click the Subscribe button to receive notifications on the page. Click the Unsubscribe button to unsubscribe from the channel and stop receiving notifications.