Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
boost::mqtt5::will::will (3 of 3 overloads)

Construct a Will Message.

Synopsis
will(
    std::string topic,
    std::string message,
    boost::mqtt5::qos_e qos,
    boost::mqtt5::retain_e retain,
    will_props props);
Parameters

Name

Description

topic

Topic name, identification of the information channel to which the Will Message will be published.

message

The message that will be published.

qos

The qos_e level used when publishing the Will Message.

retain

The retain_e flag specifying if the Will Message is to be retained when it is published.

props

Will properties.


PrevUpHomeNext