SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

DynamicDataNeeded Event

Requests a portion of data to be uploaded from the application.

Syntax

ANSI (Cross Platform)
virtual int FireDynamicDataNeeded(HTTPClientDynamicDataNeededEventParams *e);
typedef struct {
int BytesNeeded; int reserved; } HTTPClientDynamicDataNeededEventParams; Unicode (Windows) virtual INT FireDynamicDataNeeded(HTTPClientDynamicDataNeededEventParams *e);
typedef struct {
INT BytesNeeded; INT reserved; } HTTPClientDynamicDataNeededEventParams;
- (void)onDynamicDataNeeded:(int)bytesNeeded;
#define EID_HTTPCLIENT_DYNAMICDATANEEDED 5

virtual INT SECUREBLACKBOXLITE_CALL FireDynamicDataNeeded(INT &iBytesNeeded);

Remarks

If dynamic ('streaming') variants of PUT or POST methods are used, this event is fired periodically to request portions of data to be sent to the server.

When handling this event, assign the next portion of data of BytesNeeded length (or less) to DynamicData. If no more data is available to upload (the whole document has been sent), leave DynamicData empty.

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