Closed
Description
I am now trying to do something useful with the WebSocketHandler. For this I implemented a MyWebSocketHandler. Inside the onMessageHandler I would like to send something back to the browser. But the WebSocketHandler class does not know the WebSocket. So, shouldn't there be a function like WebSocketHandler::setWebSocket(WebSocket *pWebSocket);
in order to be able to use pWebSocket->send(...) inside the onMessage handler? Or do you have another solution for this?