I have implemented a very basic server sent http streaming in my app
Client side code
Server side
The connection is established. But on the UI why does the browser poll for the server every second. The alert is visible on the UI every second.
How does it make different from polling? I saw the same thing happening with the twitter streaming REST API the browser polls the server every second.