pub fn relay_config() -> RelayConfig<()>
Available on crate features
server
and test-utils
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.