conduit 0.6.0
Modern C++23 header-only event-dispatching / event-transport library
Loading...
Searching...
No Matches
Public Attributes | List of all members
conduit::redis::Config Struct Reference

#include <transport.hpp>

Collaboration diagram for conduit::redis::Config:
Collaboration graph
[legend]

Public Attributes

std::string url
 
std::optional< std::string > username
 
std::optional< std::string > password
 
std::optional< int > db
 
std::optional< TlsConfigtls
 
std::chrono::seconds connect_timeout {10}
 
std::string channel = "conduit:envelope"
 Channel this transport binds to (PUBLISH and SUBSCRIBE both target it).
 
Format format = Format::Cbor
 Wire format used for both outbound publishes and inbound decoding.
 

Member Data Documentation

◆ channel

std::string conduit::redis::Config::channel = "conduit:envelope"

Channel this transport binds to (PUBLISH and SUBSCRIBE both target it).

Required — must be non-empty. Multi-channel routing is done by attaching multiple Transport instances wrapped in FilteredTransport, matching MQTT's per-topic-instance model.

◆ connect_timeout

std::chrono::seconds conduit::redis::Config::connect_timeout {10}

◆ db

std::optional<int> conduit::redis::Config::db

◆ format

Format conduit::redis::Config::format = Format::Cbor

Wire format used for both outbound publishes and inbound decoding.

◆ password

std::optional<std::string> conduit::redis::Config::password

◆ tls

std::optional<TlsConfig> conduit::redis::Config::tls

◆ url

std::string conduit::redis::Config::url

◆ username

std::optional<std::string> conduit::redis::Config::username

The documentation for this struct was generated from the following file: