#include "WebSocketTest.h" using namespace example; void WebSocketTest::handleNewMessage(const WebSocketConnectionPtr& wsConnPtr,std::string &&message) { //write your application logic here LOG_TRACE<<"new websocket message:"<send("Hello!!"); }