iroh_bench::quinn

Function connect_client

Source
pub async fn connect_client(
    server_addr: SocketAddr,
    server_cert: CertificateDer<'_>,
    opt: Opt,
) -> Result<(Endpoint, Connection)>
Expand description

Create a client endpoint and client connection