diff options
Diffstat (limited to 'src/webchannel/qwebchannel.js')
-rw-r--r-- | src/webchannel/qwebchannel.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/webchannel/qwebchannel.js b/src/webchannel/qwebchannel.js index 887c5a0..9aa174b 100644 --- a/src/webchannel/qwebchannel.js +++ b/src/webchannel/qwebchannel.js @@ -101,7 +101,8 @@ var QWebChannel = function(baseUrlOrSocket, initCallback, rawChannel) } else { ///TODO: use ssl? var socketUrl = "ws://" + baseUrlOrSocket; - this.socket = new WebSocket(socketUrl, "QWebChannel"); + ///TODO: use QWebChannel protocol, once custom protcols are supported by QtWebSocket + this.socket = new WebSocket(socketUrl /*, "QWebChannel" */); this.socket.onopen = this.initialized this.socket.onclose = function() |