Reference Index > Browser Objects
from https://www.w3.org/TR/2012/CR-eventsource-20121211/#the-eventsource-interfaceinterface EventSource {readonly attribute USVString url;readonly attribute boolean withCredentials; const unsigned short CONNECTING = 0; const unsigned short OPEN = 1; const unsigned short CLOSED = 2;readonly attribute unsigned short readyState;attribute EventHandler onopen;attribute EventHandler onmessage;attribute EventHandler onerror; void close(); };
};interface EventSource {readonly attribute DOMString url;readonly attribute boolean withCredentials; const unsigned short CONNECTING = 0; const unsigned short OPEN = 1; const unsigned short CLOSED = 2;readonly attribute unsigned short readyState;attribute EventHandler onopen;attribute EventHandler onmessage;attribute EventHandler onerror; void close(); };
Function | Implementation status |
close | Unsupported |
close | Unsupported |
Device type | Support Status |
Desktop PC browsers | Yes |
HBBTV 1.5 devices | Yes |
HBBTV 2.0.x devices | Yes |
This page has been generated automatically from source code by the CoyoteBrowser InfoTool on Tue Jan 05 16:54:08 2021 . Some design elements from MDN are used under CC-BY-SA license from "Mozilla Contributors".