IPWorks WebSockets 2020 Qt Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 Qt Edition - Version 20.0 [Build 8155]