PrevUpHomeNext

retain_e

Represents the RETAIN flag in the PUBLISH packets.

enum retain_e

Values

Name

Description

yes

The Server will replace any existing retained message for this Topic with this message.

no

The Server will not store this message and will not remove or replace any existing retained message.

This flag informs the Server about whether or not it should store the current message.

Requirements

Header: async_mqtt5/types.hpp

Convenience header: async_mqtt5.hpp


PrevUpHomeNext