IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

RequestOptions Property

Collection of request options.

Syntax


 getRequestOptions(): CoAPOptionList;

 setRequestOptions(requestOptions: CoAPOptionList): void;

Default Value

Remarks

This collection property holds a list of coapoption items.

When the class is operating in client mode (i.e., the Listening property is disabled), each item represents an option that will be included in the next outgoing request.

When the class is operating in server mode (i.e., the Listening property is enabled), each item represents an option included in the most-recently-received request.

This property is not available at design time.

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