Horje
What are The EventSource Object | HTML SSE API Code
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

Reffered: https://www.w3schools.com/html/html5_serversentevents.asp



Read Full::
HTML SSE API Code
Category:
HTML Code
Sub Category:
HTML SSE API Code
Uploaded:
1 month ago
Uploaded by:
Admin
Views:
1

Related Articles
What is HTML SSE API HTML SSE API Code
How to add Server-Sent Events - One Way Messaging HTML SSE API Code
What types of browsers will support HTML SSE API HTML SSE API Code
How to Receive Server-Sent Event Notifications HTML SSE API Code
How to Check Server-Sent Events Support HTML SSE API Code
What is Server-Side Code Example HTML SSE API Code
What are The EventSource Object HTML SSE API Code

Single Articles

Share on: