Thursday, October 16, 2014

How to use Streaming API in visualforce Salesforce

Ok so as per new enhacnement Slaesforce has introduced streaming API in force.com. The cool thing is that it works on "Comet" model, its accually a long-held HTTP request model. So if a connection is open it will get the new updates through polling. The server will pust the new data into the stream and thus we will get notification in page without even using page reload or API request.


Result:

Hope this helps you!!

No comments:

Post a Comment