Connected Event
Fired when a WebSocket is successfully opened.
Syntax
class WebSocketServerConnectedEventParams { public: int ConnectionId(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Connected(WebSocketServerConnectedEventParams *e);
// Or, subclass WebSocketServer and override this emitter function. virtual int FireConnected(WebSocketServerConnectedEventParams *e) {...}
Remarks
The Connected event is fired when a WebSocket is successfully opened on a connection.
ConnectionId identifies the connection.