Hello,

I have added WebSocket ping to prevent nginx proxied WebSocket from being
closed
To implement it I'm sending bunary websocket message:

wsConnection.sendMessage(new byte[1], 0, 1);

As a result I'm getting

Uncaught TypeError: message.indexOf is not a function
    at WebSocket.self.ws.onmessage (
https://antares.unipro.ru/openmeetings/wicket/resource/org.apache.wicket.pr
…esourceReference/res/js/wicket-websocket-jquery-ver-1470143575000.js:78:29)

JS code is
var message = event.data;
if (message && message.indexOf('<ajax-response>') > -1) {


wicket 7.4.0

I guess it need to be fixed, since API allows calls like this

-- 
WBR
Maxim aka solomax

Reply via email to