Debian Codegraph @

docs/web/examples/websocket/index.html

raw
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>
5 web sockets
6 </title>
7 <script src="websocket-browser-client.js" charset="utf-8">
8 </script>
9 <style>
10 #console {
11 border: 1px solid red;
12 padding: 1em;
13 }
14 </style>
15 </head>
16 <body>
17 <button onclick="doConnect()">connect websocket</button>
18 <div id="console">
19 </div>
20 </body>
21 </html>