8 #include "iwebsocketserverendpoint.h"
9 #include "websocketinterface.h"
12 #include <rtti/factory.h>
13 #include <nap/resourceptr.h>
24 template<
typename config>
45 virtual void onDestroy()
override;
57 virtual void onConnectionClosed(
const WebSocketConnection& connection,
int code,
const std::string& reason) = 0;
60 virtual void onConnectionFailed(
const WebSocketConnection& connection,
int code,
const std::string& reason) = 0;
151 virtual void onConnectionClosed(
const WebSocketConnection& connection,
int code,
const std::string& reason)
override;
160 virtual void onConnectionFailed(
const WebSocketConnection& connection,
int code,
const std::string& reason)
override;
Definition: websocketconnection.h:27
Definition: websocketserver.h:77
Definition: objectptr.h:154
Definition: websocketservice.h:23
Definition: errorstate.h:19
Definition: websocketconnection.h:16
Definition: websocketmessage.h:29
Definition: templateapp.h:17
ResourcePtr< IWebSocketServerEndPoint > mEndPoint
Property: 'EndPoint' the server endpoint that manages all client connections.
Definition: websocketserver.h:47
Definition: websocketinterface.h:28
Definition: websocketserver.h:22
EWebSocketOPCode
Definition: websocketutils.h:29