FrontendDeveloper.in

JavaScript question detail

What are the events available for server sent events

Below are the list of events available for server sent events

EventDescription
onopenIt is used when a connection to the server is opened
onmessageThis event is used when a message is received
onerrorIt happens when an error occurs
Back to all JavaScript questions
Get LinkedIn Premium at Rs 399