fix missing bold for your account item
[brisk.git] / web / ws.php
index 640c227..a21eb6f 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-   
+
 ?>
 <html>
 <head>
 
      window.onload = function() {
         var host = "ws://dodo.birds.van/brisk/xynt_test01.php?isstream=true&transp=websocket&f_test=1"; // SET THIS TO YOUR SERVER
-     
+
         console.log("QUI");
         try
         {
             socket = new WebSocket(host);
             console.log('WebSocket - status ' + socket.readyState);
-             
+
             socket.onopen = function(msg)
             {
                 if(this.readyState == 1)
                     console.log("We are now connected to websocket server. readyState = " + this.readyState);
                 }
             };
-             
+
             //Message received from websocket server
             socket.onmessage = function(msg)
             {
                 console.log(" [ + ] Received: " + msg.data);
             };
-             
+
             //Connection closed
             socket.onclose = function(msg)
             {
                 console.log("Disconnected - status " + this.readyState);
             };
-             
+
             socket.onerror = function()
             {
                 console.log("Some error");
             }
         }
-         
+
         catch(ex)
         {
             console.log('Some exception : '  + ex);
         }
-         
+
      };
  //-->
 </script>