forked from bloatless/php-websocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (28 loc) · 890 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/client.css">
<script src="js/jquery.min.js"></script>
<script src="js/json2.js"></script>
<script src="lib/coffeescript/jsmaker.php?f=client.coffee"></script>
<meta charset=utf-8 />
<title>Shiny WSS Demo Application</title>
</head>
<body>
<div id="container">
<h1>Shiny WSS Demo Application</h1>
<span id="status" class="offline">offline</span>
<h2>Send Text Frame</h2>
<input id="action" placeholder="action" type="text" />
<input id="data" placeholder="data" type="text" />
<button id="send">Send Text</button>
<h2>Send Binary Frame</h2>
<form name="binaryFrame" action="#">
<input type="file" name="file" id="file">
<button id="sendfile">Send Binary</button>
</form>
<h2>Server-Response</h2>
<div id="log"></div>
</div>
</body>
</html>