How to: Server-Sent Events with Indy HTTP Server (part 3)

In this part, the server application uses the Indy HTTP server uses SSE to continuously send events to the JavaScript EventSource. Part 3: the demo application, now streaming Ingredient #1: the HTML page with JavaScript The script has not changed, it reads two data items from the ping event: a time stamp in ISO 8601 … Continue reading How to: Server-Sent Events with Indy HTTP Server (part 3)

How to: Server-Sent Events with Indy HTTP Server (part 2)

In this second part, a server application uses the Indy HTTP server to provide a HTML page which uses SSE to update its content with data sent from the server. Part 2: the basic demo application, some client data added Ingredient #1: the HTML page with JavaScript The script now reads two data items from … Continue reading How to: Server-Sent Events with Indy HTTP Server (part 2)

How to: Server-Sent Events with Indy HTTP Server (part 1)

In this article, a server application uses the Indy HTTP server to provide a HTML page which uses SSE to update its content with data sent from the server. Server-Sent Events (SSE) is a server push technology enabling a client to receive automatic updates from a server via an HTTP connection, and describes how servers … Continue reading How to: Server-Sent Events with Indy HTTP Server (part 1)