Back to Libwebsockets

Index

minimal-examples-lowlevel/http-server/minimal-http-server-sse-ring/mount-origin/index.html

4.5.8441 B
Original Source


Hello from the minimal http Server Side Events + Ring example.

This is a static page served from ./mount-origin/index.html.

It connects back to the server at /sse/sourcename using EventSource()
and displays the perioding incoming event data below.

The data is being produced by two asynchronous threads at the server, which each sleep for a random period inbetween samples.