Lines Matching defs:ClientTrace
34 func WithClientTrace(ctx context.Context, trace *ClientTrace) context.Context {
80 type ClientTrace struct { struct
85 GetConn func(hostPort string)
91 GotConn func(GotConnInfo)
101 PutIdleConn func(err error)
105 GotFirstResponseByte func()
109 Got100Continue func()
115 Got1xxResponse func(code int, header textproto.MIMEHeader) error
118 DNSStart func(DNSStartInfo)
121 DNSDone func(DNSDoneInfo)
126 ConnectStart func(network, addr string)
133 ConnectDone func(network, addr string, err error)
138 TLSHandshakeStart func()
143 TLSHandshakeDone func(tls.ConnectionState, error)
148 WroteHeaderField func(key string, value []string)
152 WroteHeaders func()
158 Wait100Continue func()
163 WroteRequest func(WroteRequestInfo)
175 func (t *ClientTrace) compose(old *ClientTrace) {
229 func (t *ClientTrace) hasNetHooks() bool {