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
pub fn server_endpoint(
rt: &Runtime,
cert: CertificateDer<'static>,
key: PrivateKeyDer<'static>,
opt: &Opt,
) -> (SocketAddr, Endpoint)
Creates a server endpoint which runs on the given runtime