Topic interface
Object that describes the topic information.
Properties
path | The topic path for messages published to an MQTT broker. |
retain | When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'. |
Property Details
path
The topic path for messages published to an MQTT broker.
path: string
Property Value
string
retain
When set to 'Keep', messages published to an MQTT broker will have the retain flag set. Default: 'Never'.
retain?: string
Property Value
string
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for JavaScript