Sets headers to pass additional information with a message.
Instructs the broker to store this message as a retained message for the topic. With the retained flag set to true
,
a client receives this message immediately upon subscription. The broker stores only one retained message per topic.
To delete the retained message, send a retained message without a body to the topic.
Generated using TypeDoc
Control how to publish the message.