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
pub async fn connect_client(
server_addr: SocketAddr,
server_cert: CertificateDer<'_>,
opt: Opt,
) -> Result<(Endpoint, Connection)>
Create a client endpoint and client connection