Function iroh_relay::server::testing::server_config

source ·
pub fn server_config() -> ServerConfig<()>
Available on crate feature server only.
Expand description

Creates a ServerConfig suitable for testing.

  • Relaying is enabled using relay_config
  • Stun is enabled using stun_config
  • QUIC addr discovery is disabled.
  • Metrics are not enabled.