WriteOption Event
Fires when the client sends in a write option request.
Syntax
ANSI (Cross Platform) virtual int FireWriteOption(DCAuthWebServerWriteOptionEventParams *e);
typedef struct {
int64 ConnectionId;
const char *Name;
const char *Value; int reserved; } DCAuthWebServerWriteOptionEventParams; Unicode (Windows) virtual INT FireWriteOption(DCAuthWebServerWriteOptionEventParams *e);
typedef struct {
LONG64 ConnectionId;
LPCWSTR Name;
LPCWSTR Value; INT reserved; } DCAuthWebServerWriteOptionEventParams;
- (void)onWriteOption:(long long)connectionId :(NSString*)name :(NSString*)value;
#define EID_DCAUTHWEBSERVER_WRITEOPTION 22 virtual INT SECUREBLACKBOX_CALL FireWriteOption(LONG64 &lConnectionId, LPSTR &lpszName, LPSTR &lpszValue);
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.