ajax - How to process multiple sequential JSON responses in one request in JavaScript as they arrive without waiting for the last update? -


is there way make http request within javascript url will, on time, produce multiple json responses , process json response received client?

what want is, in php on server, test series of flash streams, ensure serving data , communicate updates of test series of sequential json updates received , decoded javascript , update dom updates comes in. key part client process , display updates come in (the test takes while complete) , not wait socket close before processing updates.

see:

http://socket.io/

http://dev.w3.org/html5/websockets/

how implement basic "long polling"?


Comments

Popular posts from this blog

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

apache - Add omitted ? to URLs -

php - How can I stop spam on my custom forum/blog? -