pub fn default_relay_mode() -> RelayMode
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Expand description
Returns the default relay mode.
If the IROH_FORCE_STAGING_RELAYS
environment variable is non empty, it will return RelayMode::Staging
.
Otherwise, it will return RelayMode::Default
.