SecureBlackbox 2020 C++ Edition

Questions / Feedback?

ReadOption Event

Fires when the client sends in a read option request.

Syntax

ANSI (Cross Platform)
virtual int FireReadOption(DCAuthWebServerReadOptionEventParams *e);
typedef struct {
int64 ConnectionId;
const char *Name;
char *Value;
int Success; int reserved; } DCAuthWebServerReadOptionEventParams; Unicode (Windows) virtual INT FireReadOption(DCAuthWebServerReadOptionEventParams *e);
typedef struct {
LONG64 ConnectionId;
LPCWSTR Name;
LPWSTR Value;
BOOL Success; INT reserved; } DCAuthWebServerReadOptionEventParams;
- (void)onReadOption:(long long)connectionId :(NSString*)name :(NSString**)value :(int*)success;
#define EID_DCAUTHWEBSERVER_READOPTION 15

virtual INT SECUREBLACKBOX_CALL FireReadOption(LONG64 &lConnectionId, LPSTR &lpszName, LPSTR &lpszValue, BOOL &bSuccess);

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.

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