net/http.Transport.TLSClientConfig (field)
24 uses
net/http (current package)
h2_bundle.go#L7711: if t1.TLSClientConfig == nil {
h2_bundle.go#L7712: t1.TLSClientConfig = new(tls.Config)
h2_bundle.go#L7714: if !http2strSliceContains(t1.TLSClientConfig.NextProtos, "h2") {
h2_bundle.go#L7715: t1.TLSClientConfig.NextProtos = append([]string{"h2"}, t1.TLSClientConfig.NextProtos...)
h2_bundle.go#L7717: if !http2strSliceContains(t1.TLSClientConfig.NextProtos, "http/1.1") {
h2_bundle.go#L7718: t1.TLSClientConfig.NextProtos = append(t1.TLSClientConfig.NextProtos, "http/1.1")
transport.go#L181: TLSClientConfig *tls.Config
transport.go#L354: if t.TLSClientConfig != nil {
transport.go#L355: t2.TLSClientConfig = t.TLSClientConfig.Clone()
transport.go#L453: t.TLSClientConfig.NextProtos = adjustNextProtos(t.TLSClientConfig.NextProtos, protocols)
transport.go#L469: case !t.ForceAttemptHTTP2 && (t.TLSClientConfig != nil || t.Dial != nil || t.DialContext != nil || t.hasCustomTLSDialer()):
transport.go#L1683: cfg := cloneTLSConfig(pconn.t.TLSClientConfig)
golang.org/x/net/http2
transport.go#L289: if t1.TLSClientConfig == nil {
transport.go#L290: t1.TLSClientConfig = new(tls.Config)
transport.go#L292: if !strSliceContains(t1.TLSClientConfig.NextProtos, "h2") {
transport.go#L293: t1.TLSClientConfig.NextProtos = append([]string{"h2"}, t1.TLSClientConfig.NextProtos...)
transport.go#L295: if !strSliceContains(t1.TLSClientConfig.NextProtos, "http/1.1") {
transport.go#L296: t1.TLSClientConfig.NextProtos = append(t1.TLSClientConfig.NextProtos, "http/1.1")
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)