Overview of Server-Sent Events (SSE)
Server-Sent Events (SSE) is a mechanism that allows a server to push real-time updates to a client over a single, long-lived HTTP connection. Unlike standard HTTP requests where the client must poll the server, SSE establishes a streaming connection where the server can continuously send data packets to the client. It is a unidirectional communication channel (Server -> Client) based on the standard HTTP protocol using the
text/event-stream content type.