Horje
What are The EventSource Object

In the examples above we used the onmessage event to get messages. But other events are also available:

Events Description
onopen When a connection to the server is opened
onmessage When a message is received
onerror When an error occurs






Category:
Web Tutorial
Sub Category:
HTML SSE API
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference