HTML SSE API - Server-Sent Events

Server Sent Events (SSE) allow a web page to get updates from a server using dedicated server-push protocols.

Code :