DynamicData Property
Takes a piece of data to be sent to the server within a dynamic POST or PUT request.
Syntax
ANSI (Cross Platform) int GetDynamicData(char* &lpDynamicData, int &lenDynamicData);
int SetDynamicData(const char* lpDynamicData, int lenDynamicData); Unicode (Windows) INT GetDynamicData(LPSTR &lpDynamicData, INT &lenDynamicData);
INT SetDynamicData(LPCSTR lpDynamicData, INT lenDynamicData);
@property (nonatomic,readwrite,assign,getter=dynamicData,setter=setDynamicData:) NSData* dynamicData; - (NSData*)dynamicData; - (void)setDynamicData:(NSData*)newDynamicData;
#define PID_RESTCLIENT_DYNAMICDATA 35 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_RESTClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_RESTClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Remarks
Assign the next chunk of data to this property from your DynamicDataNeeded event handler to pass it to the server. Leave it empty to tell the component that no more data is available.
This property is not available at design time.
Data Type
Byte Array