Confirmed users
398
edits
Line 29: | Line 29: | ||
var ws = request.value; | var ws = request.value; | ||
if (ws.clientProtocols.indexOf("intentAsProtocol") == -1) { | if (ws.clientProtocols.indexOf("intentAsProtocol") == -1) { | ||
ws.close(); | ws.close(); // not supported | ||
return; | return; | ||
} | } |