1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-08-19 09:42:06 +03:00
This commit is contained in:
Sergey Lyubka
2013-05-10 13:41:48 +01:00
parent 39cd5b8323
commit 6f946f5eea
2 changed files with 30 additions and 22 deletions

View File

@@ -1,6 +1,6 @@
<!DOCTYPE html>
<meta charset="utf-8" />
<title>WebSocket Test</title>
<!DOCTYPE html>
<meta charset="utf-8" />
<title>WebSocket Test</title>
<script language="javascript" type="text/javascript">
var writeToScreen = function(message) {
@@ -29,9 +29,9 @@
writeToScreen('<span style="color: red; ">ERROR: </span> ' + ev.data);
};
};
</script>
</script>
<style> div {font: small Verdana; } </style>
<h2>Mongoose WebSocket Test</h2>
<h2>Mongoose WebSocket Test</h2>
<div style="width: 400px; color: #aaa; padding: 1em; ">
This page code creates websocket to the URI "/foo",
@@ -40,5 +40,5 @@
receiving the "exit" message.
</div>
<div id="output"></div>
<div id="output"></div>
</html>