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 Subscribe to receive notifications on the page. Click Unsubscribe to unsubscribe from the channel and stop receiving notifications.