Server-sent events

Server-sent events (SSE) is a technology where a browser receives automatic updates from a server via HTTP connection. The Server-Sent Events EventSource API is standardized as part of HTML5[1] by the W3C.

History

The WHATWG Web Applications 1.0 proposal[2] included a mechanism to push content to the client. On September 1, 2006, the Opera web browser implemented this new experimental technology in a feature called "Server-Sent Events".[3][4]

Overview

Server-sent events is a standard describing how servers can initiate data transmission towards clients once an initial client connection has been established. They are commonly used to send message updates or continuous data streams to a browser client and designed to enhance native, cross-browser streaming through a JavaScript API called EventSource, through which a client requests a particular URL in order to receive an event stream.

Web browsers

Web browser support for Server-Sent Events
Browser Supported Notes
Internet Explorer No [5]
Mozilla Firefox Yes Starting with Firefox 6.0 [6]
Google Chrome Yes Starting with Chrome 6 [5]
Opera Yes Starting with Opera 11 [5]
Safari Yes Starting with Safari 5.0 [5]
Microsoft Edge No Under consideration [5]

Libraries

See also

References

External links

This article is issued from Wikipedia - version of the 8/28/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.