SecureBlackbox 2020 Qt Edition

Questions / Feedback?

Connect Event

Reports an accepted connection.

Syntax

class RESTServerConnectEventParams {
public:
  qint64 ConnectionID();
  const QString &RemoteAddress();
  int RemotePort();
  int EventRetVal();
  void SetEventRetVal(int iRetVal);
};
// To handle, connect one or more slots to this signal. void Connect(RESTServerConnectEventParams *e);
// Or, subclass RESTServer and override this emitter function. virtual int FireConnect(RESTServerConnectEventParams *e) {...}

Remarks

The class fires this event to report that a new connection has been established. ConnectionId indicates the unique ID assigned to this connection. The same ID will be supplied to any other events related to this connection, such as GetRequest or AuthAttempt.

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