What is the Web workers
A server-sent event is when a web page automatically gets updates from a server.
This was also possible before, but the web page would have to ask if any updates were available. With server-sent events, the updates come automatically.
Examples: Facebook/Twitter updates, stock price updates, news feeds, sport results, etc.
ΙΕ not Support.
A server-sent event is when a web page automatically gets updates from a server.
This was also possible before, but the web page would have to ask if any updates were available. With server-sent events, the updates come automatically.
Examples: Facebook/Twitter updates, stock price updates, news feeds, sport results, etc.
ΙΕ not Support.
var source=new EventSource("sample.php"); source.onmessage=function(event) { document.getElementById("result").innerHTML+=event.data + "
"; };
0 comments:
Post a Comment