async_mqtt 5.0.0
Loading...
Searching...
No Matches
protocol_version.hpp File Reference
#include <cstdint>
#include <ostream>

Go to the source code of this file.

Enumerations

enum class  async_mqtt::protocol_version { undetermined = 0 , v3_1_1 = 4 , v5 = 5 }
 MQTT protocol version. More...
 

Functions

constexpr char constasync_mqtt::protocol_version_to_str (protocol_version v)
 stringize protocol_version
 
std::ostream & async_mqtt::operator<< (std::ostream &os, protocol_version val)
 output to the stream protocol_version
 

Enumeration Type Documentation

◆ protocol_version

enum class async_mqtt::protocol_version
strong

MQTT protocol version.

Enumerator
undetermined 

both v3.1.1 and v5.0 are accepted for broker (server)

v3_1_1 

version 3.1.1

v5 

version 5.0