oa_gateway_testing::owp

Function start_owp_tls_with

Source
pub async fn start_owp_tls_with(
    engine: Arc<Engine>,
    certs: &TestCerts,
    edit: impl FnOnce(&mut OwpConfig),
) -> (String, CancellationToken)
Expand description

As start_owp_with, but the listener terminates TLS with certs.

Returns a wss://127.0.0.1:{port}/ URL; connect to it with connect_tls.