summaryrefslogtreecommitdiff
path: root/deps/wse/priv/page_b.html
blob: 589da7ec31daae55c125d84ddaa39ae84636f800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
<head>
<title>Page B</title>
<script src='ej.js'></script>
<script src='wse.js'></script>
<script>

window.onload = function() {
   if (Wse.open("ws://"+(location.hostname||"localhost")+":1234/websession")) {
      // Wse.enable_console_output(true);
      Wse.register('page_b');
   }
};

</script>
</head>
<body>
<p id="x">Hello B World</p>
</body>
</html>