<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>WebSocket Client Demo</title>
</head>
<body>
  <h1>WebSocket Client</h1>
  <p>Open the JavaScript console to see the response!</p>
  <form>
    <label for="message">Send a message</label>
    <input id="message" name="message" type="text">
    <button id="send" name="send">Send</button>
  </form>
  <script src="ws_client.js"></script>
</body>
</html>

<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>WebSocket Client Demo</title>
</head>
<body>
  
  <h1>WebSocket Client</h1>
  <p>Open the JavaScript console to see the response!</p>
  
  <form>
    <label for="message">Send a message</label>
    <input id="message" name="message" type="text">
    <button id="send" name="send">Send</button>
  </form>
  
  <script src="ws_client.js"></script>

  <p>This is a demo from <a href="http://simonewebdesign.it/blog/101-web-socket-protocol-handshake-a-pragmatic-guide">101 Web Socket Protocol Handshake</a>.</p>
</body>
</html>

Add link to original post
Add link to original post
