mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
Adopted to the recent net_skeleton
This commit is contained in:
1 parent
cfd334ac6c
commit
66da41d401
3 files changed
+57
-25
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user