MqttDisconnectPacket interface
The properties of the MQTT DISCONNECT packet.
Properties
| code | The MQTT disconnect return code. |
| user |
The user properties in the MQTT disconnect packet. |
Property Details
code
The MQTT disconnect return code.
code: MqttDisconnectReasonCode
Property Value
userProperties
The user properties in the MQTT disconnect packet.
userProperties?: MqttUserProperty[]