Dictionary (New Word): Server-Sent Events (SSE)#280
Merged
babblebey merged 2 commits intojargonsdev:mainfrom Feb 16, 2026
Merged
Dictionary (New Word): Server-Sent Events (SSE)#280babblebey merged 2 commits intojargonsdev:mainfrom
babblebey merged 2 commits intojargonsdev:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Word
Server-Sent Events (SSE)
Meaning/Definition
Server-Sent Events (SSE) is a web technology that allows a server to send automatic updates to a web browser over a single, long-lived HTTP connection. It enables real-time communication where the server pushes data to the client without the client needing to request it repeatedly.
SSE is commonly used for live notifications, news feeds, or real-time updates in web applications. Unlike WebSockets, SSE is unidirectional, meaning data flows only from the server to the client. It uses a simple event-driven model and works over standard HTTP, making it easy to implement and compatible with most browsers.
Example: A web page can listen for server updates using JavaScript like this:
This code opens a connection to the server endpoint /events and logs incoming messages automatically.