ryu_ldn::network::RyuLdnClientConfig
ryu_ldn::network::RyuLdnClientConfig
Section titled “ryu_ldn::network::RyuLdnClientConfig”Configuration for.
Members
Section titled “Members”Type: char
Server hostname or IP address.
Type: uint16_t
Server port number.
connect_timeout_ms
Section titled “connect_timeout_ms”Type: uint32_t
Connection timeout in milliseconds.
recv_timeout_ms
Section titled “recv_timeout_ms”Type: uint32_t
Receive timeout in milliseconds.
ping_interval_ms
Section titled “ping_interval_ms”Type: uint32_t
Ping interval in milliseconds (0 to disable)
reconnect
Section titled “reconnect”Type: ReconnectConfig
Reconnection configuration.
auto_reconnect
Section titled “auto_reconnect”Type: bool
Whether to automatically reconnect on disconnect.
passphrase
Section titled “passphrase”Type: char
Room passphrase for filtering (empty = public rooms)
Methods
Section titled “Methods”RyuLdnClientConfig
Section titled “RyuLdnClientConfig”void RyuLdnClientConfig()Default constructor with sensible defaults.
Initializes configuration with:
RyuLdnClientConfig
Section titled “RyuLdnClientConfig”void RyuLdnClientConfig(const& cfg)Constructor from Config structure.
Constructor from application Config.Translates application-level configuration to client configuration.cfgApplication configuration from INI fileparam
Parameters:
cfg(const&)