aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-04-08 10:29:54 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-04-08 10:29:54 +0200
commit6ea1d50ab6571551e1d0379940349911956c97ee (patch)
treee96a3c077a0b39675a693dee202fecd60c1946a3 /test
parent54b2652e94cfa7840dbebcba46edd5459e7c6e86 (diff)
new websocket handling
Change-Id: I71fc5ff0412af6badce77485c98016916c56d235 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'test')
-rw-r--r--test/websock.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/websock.js b/test/websock.js
index 1ba136b4..84465588 100644
--- a/test/websock.js
+++ b/test/websock.js
@@ -29,7 +29,7 @@ AfbWsItf = (function(){
function AfbWsItf(base, onopen, onabort, ctx) {
var wl = window.location;
var u = "ws://"+wl.host+"/"+base;
- this.ws = new (WebSocket || MozWebSocket)(u, [ "afb1", "afb2" ]);
+ this.ws = new (WebSocket || MozWebSocket)(u, [ "x-afb-ws-json1" ]);
this.pendings = {};
this.counter = 0;
this.ctx = ctx || new AfbCtxItf();