Function iroh_relay::server::testing::relay_config
source · pub fn relay_config() -> RelayConfig<()>
Available on crate feature
server
only.Expand description
Creates a RelayConfig
suitable for testing.
- Binds http to an OS assigned port on ipv4.
- Uses
tls_config
to enable TLS. - Uses default limits.