run_relay_server_with

Function run_relay_server_with 

Source
pub async fn run_relay_server_with(
    quic: bool,
) -> Result<(RelayMap, RelayUrl, Server), SpawnError>
Available on crate features test-utils only.
Expand description

Runs a relay server.

If quic is set to true, it will make the appropriate QuicConfig from the generated tls certificates and run the quic server at a random free port.

The return value is similar to run_relay_server.