WriteOption Event
Fires when the client sends in a write option request.
Syntax
class DCAuthWebServerWriteOptionEventParams { public: qint64 ConnectionId(); const QString &Name(); const QString &Value(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void WriteOption(DCAuthWebServerWriteOptionEventParams *e);
// Or, subclass DCAuthWebServer and override this emitter function. virtual int FireWriteOption(DCAuthWebServerWriteOptionEventParams *e) {...}
Remarks
Subscribe to this event to respond to the clients' write option requests. The handler should save the Value of the Name option to a local configuration database.