Widely Available
Messaging
id: server-sent-events
Server-sent events
The
EventSource API creates a connection to a server and listens to a stream of events sent by the server.
Baseline Status:
Achieved Widely Available on Jul 15, 2022 (Cross-browser Newly Available since Jan 15, 2020).
Desktop Browser Engine Support
Google Chrome
6
Supported
Mozilla Firefox
6
Supported
Apple Safari
5
Supported
Microsoft Edge
79
Supported
Mobile Browser Engine Support
Chrome Android
18
Firefox Android
45
Safari iOS
5
Specifications and References
MDN Browser Compat Data Keys:
api.EventSource ↗
api.EventSource.EventSource ↗
api.EventSource.EventSource.options_withCredentials_parameter ↗
api.EventSource.close ↗
api.EventSource.error_event ↗
api.EventSource.message_event ↗
api.EventSource.open_event ↗
api.EventSource.readyState ↗
api.EventSource.url ↗
api.EventSource.withCredentials ↗
api.EventSource.worker_support ↗