#include <transport.hpp>
◆ clean_session
| bool conduit::mqtt::Config::clean_session = true |
◆ client_id
| std::string conduit::mqtt::Config::client_id |
◆ connect_timeout
| std::chrono::seconds conduit::mqtt::Config::connect_timeout {10} |
◆ format
Wire format used for both outbound publishes and inbound decoding.
◆ keep_alive
| std::chrono::seconds conduit::mqtt::Config::keep_alive {60} |
◆ password
| std::optional<std::string> conduit::mqtt::Config::password |
◆ qos
| int conduit::mqtt::Config::qos = 1 |
◆ tls
| std::optional<TlsConfig> conduit::mqtt::Config::tls |
◆ topic
| std::string conduit::mqtt::Config::topic = "conduit/envelope" |
Topic this transport binds to.
The transport publishes every envelope it receives onto this topic and subscribes to it at attach time. Required — must be a non-empty single topic; multi-topic routing is done by attaching multiple Transport instances to the bus (one per topic), gated by FilteredTransport if you need event-name filtering.
◆ url
| std::string conduit::mqtt::Config::url |
◆ username
| std::optional<std::string> conduit::mqtt::Config::username |
The documentation for this struct was generated from the following file: