Is it possible to send an HTTP request from JavaScript to a URL that will generate multiple JSON responses over time, and then handle those responses as they are received by the client?
I am looking to test a series of Flash streams in PHP on the server to ensure they are delivering data. I want to communicate the updates of this test as a sequence of JSON updates that can be decoded and displayed by JavaScript in real-time. The important aspect is that the client should process and show the updates as they arrive, without waiting for the socket to close before updating the DOM.