Options
All
  • Public
  • Public/Protected
  • All
Menu

Control how to publish the message.

Hierarchy

  • PublishOptions

Index

Properties

Properties

headers?: Map<string, any>

Sets headers to pass additional information with a message.

retain?: boolean

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