crypto/tls.Config.NextProtos (field)

24 uses

	crypto/tls (current package)
		common.go#L601: 	NextProtos []string
		common.go#L764: 		NextProtos:                  c.NextProtos,
		handshake_client.go#L42: 	for _, proto := range config.NextProtos {
		handshake_client.go#L77: 		alpnProtocols:                config.NextProtos,
		handshake_server.go#L217: 		if selectedProto := mutualProtocol(hs.clientHello.alpnProtocols, c.config.NextProtos); selectedProto != "" {
		handshake_server_tls13.go#L569: 		if selectedProto := mutualProtocol(hs.clientHello.alpnProtocols, c.config.NextProtos); selectedProto != "" {

	net/http
		h2_bundle.go#L3835: 	for _, p := range s.TLSConfig.NextProtos {
		h2_bundle.go#L3842: 		s.TLSConfig.NextProtos = append(s.TLSConfig.NextProtos, http2NextProtoTLS)
		h2_bundle.go#L6686: 	if !http2strSliceContains(t1.TLSClientConfig.NextProtos, "h2") {
		h2_bundle.go#L6687: 		t1.TLSClientConfig.NextProtos = append([]string{"h2"}, t1.TLSClientConfig.NextProtos...)
		h2_bundle.go#L6689: 	if !http2strSliceContains(t1.TLSClientConfig.NextProtos, "http/1.1") {
		h2_bundle.go#L6690: 		t1.TLSClientConfig.NextProtos = append(t1.TLSClientConfig.NextProtos, "http/1.1")
		h2_bundle.go#L7087: 	if !http2strSliceContains(cfg.NextProtos, http2NextProtoTLS) {
		h2_bundle.go#L7088: 		cfg.NextProtos = append([]string{http2NextProtoTLS}, cfg.NextProtos...)
		server.go#L2934: 	return strSliceContains(srv.TLSConfig.NextProtos, http2NextProtoTLS)
		server.go#L3038: 	if !strSliceContains(config.NextProtos, "http/1.1") {
		server.go#L3039: 		config.NextProtos = append(config.NextProtos, "http/1.1")
		transport.go#L1515: 		cfg.NextProtos = nil