ReadOption Event
Fires when the client sends in a read option request.
Syntax
class DCAuthWebServerReadOptionEventParams { public: qint64 ConnectionId(); const QString &Name(); const QString &Value(); void SetValue(const QString &qsValue); bool Success(); void SetSuccess(bool bSuccess); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void ReadOption(DCAuthWebServerReadOptionEventParams *e);
// Or, subclass DCAuthWebServer and override this emitter function. virtual int FireReadOption(DCAuthWebServerReadOptionEventParams *e) {...}
Remarks
Subscribe to this event to respond to the clients' read option requests. The handler should retrieve the value of the requested option from a local configuration setting and assign it to the Value parameter.