Function iroh_relay::server::testing::stun_config

source ·
pub fn stun_config() -> StunConfig
Available on crate feature server only.
Expand description

Creates a StunConfig suitable for testing.

To ensure port availability for testing, the port is configured to be assigned by the OS.