iroh_bench::quinn

Function server_endpoint

Source
pub fn server_endpoint(
    rt: &Runtime,
    cert: CertificateDer<'static>,
    key: PrivateKeyDer<'static>,
    opt: &Opt,
) -> (SocketAddr, Endpoint)
Expand description

Creates a server endpoint which runs on the given runtime