Connect
In previous version of the XSockets JavaScript API the connection was opened when you created an instance. In V6 you call open()
your self.
<script>
var conn = new xsockets.client('ws://localhost:4502');
conn.open();
</script>
In previous version of the XSockets JavaScript API the connection was opened when you created an instance. In V6 you call open()
your self.
<script>
var conn = new xsockets.client('ws://localhost:4502');
conn.open();
</script>