Server-Sent Event: Check Server-Sent Events Support

Check Server-Sent Events Support

if(typeof(EventSource) !== "undefined") {
  // Yes! Server-sent events support!
  // Some code.....
} else {
  // Sorry! No server-sent events support..
}

Related concepts

Check Server-Sent Events Support

Server-Sent Event: Check Server-Sent Events Support — Structure map

Clickable & Draggable!

Server-Sent Event: Check Server-Sent Events Support — Related pages: