SecureBlackbox 2020 C++ Edition

Questions / Feedback?

TextData Event

Passes a received chunk of text data to the application.

Syntax

ANSI (Cross Platform)
virtual int FireTextData(WebSocketClientTextDataEventParams *e);
typedef struct {
const char *Text;
int Last; int reserved; } WebSocketClientTextDataEventParams; Unicode (Windows) virtual INT FireTextData(WebSocketClientTextDataEventParams *e);
typedef struct {
LPCWSTR Text;
BOOL Last; INT reserved; } WebSocketClientTextDataEventParams;
- (void)onTextData:(NSString*)text :(BOOL)last;
#define EID_WEBSOCKETCLIENT_TEXTDATA 7

virtual INT SECUREBLACKBOX_CALL FireTextData(LPSTR &lpszText, BOOL &bLast);

Remarks

The class fires this event repeatedly to pass incoming pieces of text data to the application. The Last parameter indicates that this is the last chunk.

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