| 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 | <b>Minimal ws server proxy example</b>.<br> |
| 11 | The server makes a dumb-increment-protocol wss connection<br> |
| 12 | to libwebsockets.org. It proxies what it was sent to<br> |
| 13 | all browsers open on this page.<br> |
| 14 | The textarea show the last 20 lines received. |
| 15 | <br> |
| 16 | <br> |
| 17 | <textarea id=r readonly cols=40 rows=20></textarea><br> |
| 18 | </body> |
| 19 | </html> |