Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

boost::mqtt5::retain_handling_e

Representation of the Retain Handling Subscribe Option.

Synopsis

Defined in header <boost/mqtt5/types.hpp>

enum class retain_handling_e
    : std::uint8_t;
Values

Name

Description

send

Send retained messages at the time of subscribe.

new_subscription_only

Send retained message only if the Subscription does not currently exist.

not_send

Do not send retained messages at the time of subscribe.

Description

A Subscribe Option specifying whether retained messages are sent when the Subscription is established.

Convenience header <boost/mqtt5.hpp>


PrevUpHomeNext