SSE

SSE stands for Server-sent Events.

SSE is used as a mean for a server to send messages to the client over the web. Since HTTP doesn’t offer that capability, a mechanism such as SSE can be used.

The way SSE works is by the web browser opening an HTTP request to the server and the server using that request to endlessly stream its messages to the client without ever finishing the response for the initial request.

SSE is used when the developer expects many messages to be sent from the server to the client.

SSE can be used as a transport layer for signaling. Other mechanisms such as XHR and WebSocket are more common in the context of WebRTC.

About WebRTC Glossary

WebRTC Glossary is a collaborative space where users can learn more about WebRTC related terms. Anyone can also modify or add new terms to this glossary, but it requires registration to the site first.