Long polling

With long polling requests, the API request will be held open until new feed data is available. Once available, the API responds and sends the new information to the client. Long polling requests are preferred to loop-based polling since it provides better performance and uses less resources.

Initiating a long polling request

It is possible to create long polling requests to your feeds using the request parameter waitTime. A long polling request is a hanging request that will return a response once there are new feed entries available in the feed. The waitTime provides the maximum wait time for the hanging requests if no new entries become available.