Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
boost::mqtt5::logger::at_connack

Outputs the contents of the CONNACK packet sent by the Broker.

Synopsis
void
at_connack(
    boost::mqtt5::reason_code rc,
    bool session_present,
    const connack_props& ca_props);
Parameters

Name

Description

rc

Reason Code in the received CONNACK packet indicating the result of the MQTT handshake.

session_present

A flag indicating whether the Broker already has a session associated with this connection.

ca_props

boost::mqtt5::connack_props received in the CONNACK packet.


PrevUpHomeNext