drogon/examples/simple_example/WebSocketTest.cc

9 lines
321 B
C++
Raw Normal View History

2018-08-22 07:08:48 +00:00
#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
}