async_mqtt 5.0.0
Loading...
Searching...
No Matches
pubopts.hpp File Reference
#include <boost/assert.hpp>
#include <async_mqtt/packet/qos.hpp>

Go to the source code of this file.

Classes

struct  async_mqtt::pub::opts
 MQTT PublishOptions. More...
 

Enumerations

enum class  async_mqtt::pub::retain : std::uint8_t { yes = 0b00000001 , no = 0b00000000 }
 MQTT RETAIN. More...
 
enum class  async_mqtt::pub::dup : std::uint8_t { yes = 0b00001000 , no = 0b00000000 }
 MQTT DUP. More...
 

Enumeration Type Documentation

◆ dup

enum class async_mqtt::pub::dup : std::uint8_t
strong

MQTT DUP.


See https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901102

Enumerator
yes 

Duplicated.

no 

No Duplicated.

◆ retain

enum class async_mqtt::pub::retain : std::uint8_t
strong

MQTT RETAIN.


See https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901104

Enumerator
yes 

Retain.

no 

No Retain.