new MqttWill()
Will information from the remote MQTT client
- Source:
Methods
isWillFlag() → {boolean}
- Source:
Returns:
the will flag for indicating the will message presence
- Type
- boolean
isWillRetain() → {boolean}
Returns:
true if the will must be retained as provided by the remote MQTT client
- Type
- boolean
willMessage() → {string}
- Source:
Returns:
the payload for the will as provided by the remote MQTT client
- Type
- string
willQos() → {number}
- Source:
Returns:
the QoS level for the will as provided by the remote MQTT client
- Type
- number
willTopic() → {string}
- Source:
Returns:
the topic for the will as provided by the remote MQTT client
- Type
- string