func MatchByALPNPrefix(prefix string) MatchFunc {
	return func(sni, alpn string) bool {
		return strings.HasPrefix(alpn, prefix)
	}
}
// MatchByALPNPrefix creates match function based on client TLS ALPN protocol prefix.
MatchByALPNPrefix creates match function based on client TLS ALPN protocol prefix.
// MatchByALPNPrefix creates match function based on client TLS ALPN protocol prefix .
func MatchByALPNPrefix(prefix string) MatchFunc {
	return func(sni, alpn string) bool {
		return strings.HasPrefix(alpn, prefix)
	}
}
func MatchByALPNPrefix ( prefix string ) MatchFunc { return func ( sni , alpn string ) bool { return strings . HasPrefix ( alpn , prefix ) } }
MatchByALPNPrefix creates match function based on client TLS ALPN protocol prefix.
MatchByALPNPrefix creates match function based on client TLS ALPN protocol prefix .