Demonstration of Server-Sent Events

Server time data is pushed to this page every second for one minute. After a minute, the server stops sending new data. The page is coded to close the EventSource when the server stops sending data.