Interface MessageReceivedEvent

Payload of the MessageReceived event for the MQTT5 client.

Hierarchy

  • MessageReceivedEvent

Properties

acknowledgementControl?: PublishAcknowledgementHandleWrapper

An object that allows the event recipient to take control of when the Publish packet's acknowledgement packet is sent. If the acknowledgement handle is not acquired by an event listener during the emission process, the client will automatically send the acknowledgement itself.

Undefined if this publish is not acknowledgeable (QoS 0).

message: PublishPacket

PUBLISH packet received from the server

Generated using TypeDoc