RequestOptionUnsafe Property

Whether the option is unsafe to forward.

Syntax

ANSI (Cross Platform)
int GetRequestOptionUnsafe(int iRequestOptionIndex);

Unicode (Windows)
BOOL GetRequestOptionUnsafe(INT iRequestOptionIndex);
- (BOOL)requestOptionUnsafe:(int)requestOptionIndex;
#define PID_COAP_REQUESTOPTIONUNSAFE 18

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_CoAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_CoAP_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

FALSE

Remarks

Whether the option is unsafe to forward.

This property reflects whether the option is unsafe to forward. This information is generally only needed for proxying.

The RequestOptionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the RequestOptionCount property.

This property is read-only and not available at design time.

Data Type

Boolean

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