IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

UpdateWillTopic Method

Update the will topic, will QoS and will retain flag stored in session state data by the server.

Syntax

async mqttsn.updateWillTopic(): Promise<void>

Remarks

When this message is called, the value of WillTopic, WillQOS and WillRetain will be used to update the will message stored by the server.

This method may be called when these values are empty, in this case the server values will be cleared.

See UpdateWillMessage for more on updating will settings.

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