blob: 87e3a4943c2250b686c9229c25658348976d10bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<html>
<head>
<title>Document demo page</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.start('wse_document_demo', 'run', ["i1"]);
}
else
alert("WebSockets not supported");
};
</script>
</head>
<body>
<div id="i1" width=640 height=480></div>
</body>
</html>
|