validate_alpn_negotiation

Function validate_alpn_negotiation 

Source
pub fn validate_alpn_negotiation(
    connection: &Connection,
) -> Result<(), ProtocolVersionError>
Expand description

Validate that ALPN protocol negotiation succeeded This should be called by the client after connecting to ensure a protocol was negotiated