Enumeration RetainHandlingType

Configures how retained messages should be handled when subscribing with a topic filter that matches topics with associated retained messages.

Enum values match MQTT5 spec encoding values.

Enumeration Members

DontSend: 2

Subscriptions must not trigger any retained message publishes from the server.

SendOnSubscribe: 0

The server should always send all retained messages on topics that match a subscription's filter.

SendOnSubscribeIfNew: 1

The server should send retained messages on topics that match the subscription's filter, but only for the first matching subscription, per session.

Generated using TypeDoc