Good afternoon,
When using Wicket-Atmosphere (0.11), which is the recommended way to send a
message to the server in order to receive a WebSocket (or fallback
transport) response?
I mean, I am supposed to do:
var socket = $.atmosphere;var request = new
$.atmosphere.AtmosphereRequest();var subSocket =
socket.subscribe(request);
subSocket.push(JSON.stringify({ 'blah' }));
Or:
Wicket.Ajax.get()
I doubt that there is a sensible performance difference, but I prefer to
ask.
Sorry if this is a silly question.
Regards,
Pierre
When using Wicket-Atmosphere (0.11), which is the recommended way to send a
message to the server in order to receive a WebSocket (or fallback
transport) response?
I mean, I am supposed to do:
var socket = $.atmosphere;var request = new
$.atmosphere.AtmosphereRequest();var subSocket =
socket.subscribe(request);
subSocket.push(JSON.stringify({ 'blah' }));
Or:
Wicket.Ajax.get()
I doubt that there is a sensible performance difference, but I prefer to
ask.
Sorry if this is a silly question.
Regards,
Pierre