pub type PeerRouterConfig = WebRTCConfig;Aliased Type§
pub struct PeerRouterConfig {Show 15 fields
pub relays: Vec<String>,
pub signaling_enabled: bool,
pub max_outbound: usize,
pub max_inbound: usize,
pub hello_interval_ms: u64,
pub message_timeout_ms: u64,
pub stun_servers: Vec<String>,
pub debug: bool,
pub multicast: MulticastConfig,
pub wifi_aware: WifiAwareConfig,
pub bluetooth: BluetoothConfig,
pub pools: PoolSettings,
pub request_selection_strategy: SelectionStrategy,
pub request_fairness_enabled: bool,
pub request_dispatch: RequestDispatchConfig,
}Fields§
§relays: Vec<String>Nostr relays for signaling
signaling_enabled: boolWhether negotiated WebRTC signaling should run at all.
max_outbound: usizeMaximum outbound connections (legacy, use pools instead)
max_inbound: usizeMaximum inbound connections (legacy, use pools instead)
hello_interval_ms: u64Hello message interval in milliseconds
message_timeout_ms: u64Message timeout in milliseconds
stun_servers: Vec<String>STUN servers for NAT traversal
debug: boolEnable debug logging
multicast: MulticastConfigOptional LAN multicast transport for offline discovery + root lookup.
wifi_aware: WifiAwareConfigOptional Android Wi-Fi Aware nearby discovery/signaling bus.
bluetooth: BluetoothConfigOptional native Bluetooth peer transport.
pools: PoolSettingsPool settings for follows and other peers
request_selection_strategy: SelectionStrategyRetrieval peer selection strategy (shared with simulation).
request_fairness_enabled: boolWhether fairness constraints are enabled for retrieval peer selection.
request_dispatch: RequestDispatchConfigHedged request dispatch policy for retrieval (shared with simulation).