Function iroh_relay::server::testing::quic_config
source · pub fn quic_config() -> QuicConfig
Available on crate feature
server
only.Expand description
Creates a QuicConfig
suitable for testing.
- Binds to an OS assigned port on ipv6 and ipv4, if dual stack is enabled.
- Uses
self_signed_tls_certs_and_config
to create tls certificates