create_server_endpoint_with_protocols

Function create_server_endpoint_with_protocols 

Source
pub fn create_server_endpoint_with_protocols(
    addr: SocketAddr,
    server_keypair: &KeyPair,
    protocol_negotiation: &ServerProtocolConfig,
) -> Result<Endpoint, CryptoError>
Expand description

Create a QUIC server endpoint with protocol version negotiation support