crypto/tls.ConnectionState.NegotiatedProtocol (field)

11 uses

	crypto/tls (current package)
		common.go#L273: 	NegotiatedProtocol string
		conn.go#L1623: 	state.NegotiatedProtocol = c.clientProtocol

	golang.org/x/net/http2
		transport_common.go#L459: 	if p := state.NegotiatedProtocol; p != NextProtoTLS {

	google.golang.org/grpc/credentials
		tls.go#L147: 	np := conn.ConnectionState().NegotiatedProtocol
		tls.go#L178: 	if cs.NegotiatedProtocol == "" {

	net/http
		server.go#L2015: 		proto := c.tlsState.NegotiatedProtocol
		transport.go#L2059: 		(pconn.tlsState != nil && pconn.tlsState.NegotiatedProtocol == "h2")
		transport.go#L2081: 	if isClientConn && (unencryptedHTTP2 || (pconn.tlsState != nil && pconn.tlsState.NegotiatedProtocol == "h2")) {
		transport.go#L2108: 	if s := pconn.tlsState; s != nil && s.NegotiatedProtocolIsMutual && s.NegotiatedProtocol != "" {
		transport.go#L2110: 		if next, ok := t.TLSNextProto[s.NegotiatedProtocol]; tlsConnOK && ok {

	net/http/internal/http2
		transport.go#L578: 	if p := state.NegotiatedProtocol; p != NextProtoTLS {