1<html> 2 <head> 3 <meta charset=utf-8 http-equiv="Content-Language" content="en"/> 4 <script src="/example.js"></script> 5 </head> 6 <body> 7 <img src="libwebsockets.org-logo.svg"> 8 <img src="strict-csp.svg"><br> 9 10 Hello from the <b>minimal http Server Side Events + Ring example</b>. 11 <p> 12 This is a static page served from ./mount-origin/index.html. 13 <p> 14 It connects back to the server at <i>/sse/sourcename</i> using EventSource()<br> 15 and displays the perioding incoming event data below. 16 <p> 17 The data is being produced by two asynchronous threads at the server, 18 which each sleep for a random period inbetween samples. 19 <p> 20 <textarea id=r readonly cols=60 rows=20></textarea><br> 21 </body> 22</html> 23 24