8 #include "websocketutils.h"
9 #include "websocketticket.h"
10 #include "websocketconnection.h"
13 #include <utility/errorstate.h>
14 #include <nap/device.h>
15 #include <nap/resourceptr.h>
20 class IWebSocketServer;
84 virtual bool isOpen()
const = 0;
135 virtual void getHostNames(std::vector<std::string>& outHosts) = 0;
140 virtual int getConnectionCount() = 0;
145 virtual bool acceptsNewConnections() = 0;
148 int mConnectionLimit = -1;
150 bool mLogConnectionUpdates =
true;
151 bool mAllowPortReuse =
false;
153 std::vector<ResourcePtr<WebSocketTicket>>
mClients;
154 std::string mAccessAllowControlOrigin =
"*";
155 std::string mIPAddress =
"";
Definition: websocketconnection.h:27
EAccessMode
Definition: iwebsocketserverendpoint.h:74
Definition: errorstate.h:19
Definition: iwebsocketserverendpoint.h:65
@ Warning
Information about important problems not severe enough to close connection.
std::vector< ResourcePtr< WebSocketTicket > > mClients
Property: "Clients" All authorized clients when mode is set to 'Reserved'".
Definition: iwebsocketserverendpoint.h:153
Definition: templateapp.h:17
Definition: websocketserver.h:22
EWebSocketOPCode
Definition: websocketutils.h:29
EWebSocketLogLevel
Definition: websocketutils.h:17