crypto/tls.clientHelloMsg.alpnProtocols (field)

20 uses

	crypto/tls (current package)
		handshake_client.go#L77: 		alpnProtocols:                config.NextProtos,
		handshake_client.go#L705: 		if len(hs.hello.alpnProtocols) == 0 {
		handshake_client.go#L709: 		if mutualProtocol([]string{hs.serverHello.alpnProtocol}, hs.hello.alpnProtocols) == "" {
		handshake_client_tls13.go#L398: 		if len(hs.hello.alpnProtocols) == 0 {
		handshake_client_tls13.go#L402: 		if mutualProtocol([]string{encryptedExtensions.alpnProtocol}, hs.hello.alpnProtocols) == "" {
		handshake_messages.go#L86: 	alpnProtocols                    []string
		handshake_messages.go#L203: 			if len(m.alpnProtocols) > 0 {
		handshake_messages.go#L208: 						for _, proto := range m.alpnProtocols {
		handshake_messages.go#L502: 				m.alpnProtocols = append(m.alpnProtocols, string(proto))
		handshake_server.go#L216: 	if len(hs.clientHello.alpnProtocols) > 0 {
		handshake_server.go#L217: 		if selectedProto := mutualProtocol(hs.clientHello.alpnProtocols, c.config.NextProtos); selectedProto != "" {
		handshake_server.go#L843: 		SupportedProtos:   clientHello.alpnProtocols,
		handshake_server_tls13.go#L479: 		len(ch.alpnProtocols) != len(ch1.alpnProtocols) {
		handshake_server_tls13.go#L507: 	for i := range ch.alpnProtocols {
		handshake_server_tls13.go#L508: 		if ch.alpnProtocols[i] != ch1.alpnProtocols[i] {
		handshake_server_tls13.go#L568: 	if len(hs.clientHello.alpnProtocols) > 0 {
		handshake_server_tls13.go#L569: 		if selectedProto := mutualProtocol(hs.clientHello.alpnProtocols, c.config.NextProtos); selectedProto != "" {