Readonly
topicTopic to publish Will message on.
Readonly
qosQoS used when publishing the Will message.
Readonly
payloadContent of Will message.
Readonly
retainWhether the Will message is to be retained when it is published.
Generated using TypeDoc
A Will message is published by the server if a client is lost unexpectedly.
The Will message is stored on the server when a client connects. It is published if the client connection is lost without the server receiving a DISCONNECT packet.
[MQTT - 3.1.2 - 8]