SecureBlackbox 2020 C++ Edition

Questions / Feedback?

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.

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