Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MQTTMessage<T>

Extends the base Message interface to include MQTT attributes, some of which are aliases of the {Message} attributes.

Type Parameters

  • T

Hierarchy

Index

Properties

PUBLISH: undefined | Record<string, undefined | string>

Identifies this message as a PUBLISH packet. MQTTMessages created with the binary and structured Serializers will contain a "Content Type" property in the PUBLISH record.

see

https://github.com/cloudevents/spec/blob/v1.0.1/mqtt-protocol-binding.md#3-mqtt-publish-message-mapping

User Properties: undefined | Headers

Alias of {Message#headers}

payload: undefined | T

Alias of {Message#body}

Generated using TypeDoc