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

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

Java - Returning an array from a method to main -