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 8 <img src="libwebsockets.org-logo.svg"> 9 <img src="strict-csp.svg"><br> 10 11 LWS chat <b>minimal ws server example</b>.<br> 12 Chat is sent to all browsers open on this page.<br> 13 <br> 14 <span id=status>Ws closed</span><br> 15 <br> 16 <textarea id=r readonly cols=40 rows=10></textarea><br> 17 <input type="text" id=m cols=40 rows=1> 18 <button id=b>Send</button> 19 </body> 20</html> 21 22