#include "WebSocketTest.h" using namespace example; void WebSocketTest::handleNewMessage(const WebSocketConnectionPtr& wsConnPtr,trantor::MsgBuffer* buffer) { //write your application logic here }void WebSocketTest::handleConnection(const WebSocketConnectionPtr& wsConnPtr) { //write your application logic here }