You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
	
		
		
			
				
				
					
						
						
						
							 | 
							
							<html>
 | 
						
						
						
						
							 | 
							
							  <body>
 | 
						
						
						
						
							 | 
							
							    <script type="text/javascript">
 | 
						
						
						
						
							 | 
							
							      var ws = new WebSocket("ws://localhost:8080/web-socket");
 | 
						
						
						
						
							 | 
							
							      ws.onmessage = function(evt) {
 | 
						
						
						
						
							 | 
							
							        alert(evt.data);
 | 
						
						
						
						
							 | 
							
							      };
 | 
						
						
						
						
							 | 
							
							      ws.onopen = function() {
 | 
						
						
						
						
							 | 
							
							        ws.send('Hello!');
 | 
						
						
						
						
							 | 
							
							      }
 | 
						
						
						
						
							 | 
							
							    </script>
 | 
						
						
						
						
							 | 
							
							  </body>
 | 
						
						
						
						
							 | 
							
							</html>
 |