Hi Maxim, Old news ;-)
https://github.com/apache/wicket/commit/f4a6996aa4c3240b31ba191ef396864bf0dfad6c Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Oct 14, 2016 at 1:43 PM, Maxim Solodovnik <[email protected]> wrote: > 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 >
