+ 1
How to use socket io for continous HTTP request instead of Ajax?
I have performance issues when use Ajax setInterval on continues request in background. So I like to resolve this issue using client side protocol. If any suggestions highly appreciated.
3 Answers
+ 22
Not sure...
+ 21
aj=new XMLHttpRequest();
aj.open("GET","URL");
aj.send(null);
aj.onload=function(){data=this.responseText;this.send();};
+ 1
@ValentinHacker Is it resolve the performance issue.? That same job done by ajax rite?