Simply put, how is ajax clicked?
The general idea is to always have a server freeze request, so the server can respond to it whenever it wants to “push” something to the client.
Is this done through the same object that is used for regular ajax requests?
It may be, but you can emulate it with an iframe . This field is currently under very active development, so perhaps WebSockets and EventSource should also be mentioned here.
source share