broadcast to all sessions through websocket

2021-07-17 Thread Matthew Broadhead
Trying to broadcast to all sessions on a WebSocket but it is a bit hit and miss.  the WebSocket is got by DefaultServerEndpointConfigurator dsec = new DefaultServerEndpointConfigurator(); NewsWebSocket nws = dsec.getEndpointInstance(NewsWebSocket.class); nws.broadcast(myString); and in the We

Re: broadcast to all sessions through websocket

2021-07-17 Thread Matthew Broadhead
after investigation it seems that proxying the websocket through httpd is timing out the connection.  as it is not happening on my local machine On 17/07/2021 12:59, Matthew Broadhead wrote: Trying to broadcast to all sessions on a WebSocket but it is a bit hit and miss.  the WebSocket is got b