Success indicator or failure reason for the associated PUBLISH packet.
Optional
reasonAdditional diagnostic information about the result of the PUBLISH attempt.
Optional
typeAlways set on packets coming from the client to the user. Ignored if set on packets that come from the user to the client.
The primary use is to allow users to distinguish between packets in polymorphic situations (for example, the result of a publish attempt which might be a Puback (QoS 1) or Pubcomp (QoS 2, when we support it).
Optional
userSet of MQTT5 user properties included with the packet.
Generated using TypeDoc
Data model of an MQTT5 PUBACK packet