crypto/tls.serverHelloMsg.alpnProtocol (field)
9 uses
crypto/tls (current package)
handshake_client.go#L704: if hs.serverHello.alpnProtocol != "" {
handshake_client.go#L709: if mutualProtocol([]string{hs.serverHello.alpnProtocol}, hs.hello.alpnProtocols) == "" {
handshake_client.go#L713: c.clientProtocol = hs.serverHello.alpnProtocol
handshake_client_tls13.go#L130: len(hs.serverHello.alpnProtocol) != 0 ||
handshake_messages.go#L603: alpnProtocol string
handshake_messages.go#L653: if len(m.alpnProtocol) > 0 {
handshake_messages.go#L658: b.AddBytes([]byte(m.alpnProtocol))
handshake_messages.go#L782: m.alpnProtocol = string(proto)
handshake_server.go#L218: hs.hello.alpnProtocol = selectedProto
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)