Adopted to the recent net_skeleton

This commit is contained in:
Sergey Lyubka committed 2014-09-09 17:00:49 +01:00
1 parent cfd334ac6c
commit 66da41d401
3 files changed
+57 -25

No files matched your search

+3 -1
View File
@@ -6,7 +6,9 @@
window.onload = function() {
var protocols = ['ws://', 'wss://'];
var websocketServers = ['ws1', 'ws2'];
//protocols = ['wss://'];
//websocketServers = ['ws1']
var createWebsocketConnection = function(proto, server) {
var conn = new WebSocket(proto + server);