run_relay_server

Function run_relay_server 

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

Runs a relay server with QUIC enabled suitable for tests.

The returned Url is the url of the relay server in the returned RelayMap. When dropped, the returned Server does will stop running.