Function make_server_endpoint

Source
pub fn make_server_endpoint(
    bind_addr: SocketAddr,
) -> Result<(Endpoint, Vec<u8>)>
Available on crate feature quinn-transport only.
Expand description

Create a server endpoint with a self-signed certificate

Returns the server endpoint and the certificate in DER format