X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=test%2Fwebsock.html;h=2ebb90bf39d5007f60b373a3fb832a35f7d4d52c;hb=c1d4f601753585cc063c9a0a947823c6c4e74537;hp=dd38e74a23b29803bd65b6ae9fde010fcccfeec6;hpb=a93623ba9a6914f381449205873a1d879deaee88;p=src%2Fapp-framework-binder.git diff --git a/test/websock.html b/test/websock.html index dd38e74a..2ebb90bf 100644 --- a/test/websock.html +++ b/test/websock.html @@ -23,7 +23,9 @@ document.getElementById("output").innerHTML = "ERROR: "+JSON.stringify(obj); } function send(message) { - ws.call("hello", "ping", {data:message}, replyok, replyerr); + var api = document.getElementById("api").value; + var verb = document.getElementById("verb").value; + ws.call(api, verb, {data:message}, replyok, replyerr); } @@ -31,6 +33,8 @@

WebSocket Echo

Not Connected