Struct MqttClient::BrokerConfig

Nested Relationships

This struct is a nested type of Class MqttClient.

Struct Documentation

struct BrokerConfig

Struct containing broker parameters.

Public Members

std::string host

broker host

int port

broker port

std::string user

username

std::string pass

password

bool enabled

whether to connect via SSL/TLS

std::filesystem::path ca_certificate

public CA certificate trusted by client

struct mqtt_client::MqttClient::BrokerConfig tls

SSL/TLS-related variables.