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.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |