Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

boost::mqtt5::disconnect_rc_e

A representation of Disconnect Reason Code.

Synopsis

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

enum class disconnect_rc_e
    : uint8_t;
Values

Name

Description

normal_disconnection

Close the connection normally. Do not send the Will Message.

disconnect_with_will_message

The Client wishes to disconnect but requires that the Server also publishes its Will Message.

Description

Represents all Reason Codes that the Client can send to the Server in the DISCONNECT packet as the reason for the disconnection.

Convenience header <boost/mqtt5.hpp>


PrevUpHomeNext