Struct MqttClient::ClientConfig
Defined in File MqttClient.hpp
Nested Relationships
This struct is a nested type of Class MqttClient.
Struct Documentation
-
struct ClientConfig
Struct containing client parameters.
Public Members
-
std::string id
client unique ID
-
bool enabled
whether client buffer is enabled
-
int size
client buffer size
-
std::filesystem::path directory
client buffer directory
-
struct mqtt_client::MqttClient::ClientConfig buffer
client buffer-related variables
-
std::string topic
last-will topic
-
std::string message
last-will message
-
int qos
last-will QoS value
-
bool retained
whether last-will is retained
-
struct mqtt_client::MqttClient::ClientConfig last_will
last-will-related variables
-
bool clean_session
whether client requests clean session
-
double keep_alive_interval
keep-alive interval
-
int max_inflight
maximum number of inflight messages
-
std::filesystem::path certificate
client certificate
-
std::filesystem::path key
client private keyfile
-
std::string password
decryption password for private key
-
int version
TLS version (https://github.com/eclipse/paho.mqtt.cpp/blob/master/src/mqtt/ssl_options.h#L305)
-
bool verify
Verify the client should conduct post-connect checks
-
bool server_cert_auth
whether to verify the server certificate
-
std::vector<std::string> alpn_protos
list of ALPN protocols
-
struct mqtt_client::MqttClient::ClientConfig tls
SSL/TLS-related variables.
-
std::string id