Is there a way make an HTTP request from within JavaScript to a URL that will, over time, produce multiple JSON responses and then process those JSON response as they are received by the client?
What I want to do is, in PHP on the server, test a series of Flash streams, to ensure they are serving data and then communicate the updates of that test as a series of sequential JSON updates that would be received and decoded by JavaScript and then update the DOM as the updates comes in. The key part is that the client would be process and display the updates as they come in (the test takes a while to complete) and not wait for the socket to close before processing the updates.