IPWorks IoT 2020 JavaScript Edition

Questions / Feedback?

UpdateWillMessage Method

Update the will message stored in session state data by the server.


async mqttsn.updateWillMessage(): Promise<void>


When this message is called, the value of WillMessage will be used to update the will message stored by the server.

This method may be called when this value is empty, in this case the server value will be cleared.

See UpdateWillTopic 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]