type net/http/httptrace.ClientTrace
22 uses
net/http/httptrace (current package)
trace.go#L23: func ContextClientTrace(ctx context.Context) *ClientTrace {
trace.go#L24: trace, _ := ctx.Value(clientEventContextKey{}).(*ClientTrace)
trace.go#L33: func WithClientTrace(ctx context.Context, trace *ClientTrace) context.Context {
trace.go#L79: type ClientTrace struct {
trace.go#L174: func (t *ClientTrace) compose(old *ClientTrace) {
trace.go#L280: func (t *ClientTrace) hasNetHooks() bool {
net/http
header.go#L89: func (h Header) write(w io.Writer, trace *httptrace.ClientTrace) error {
header.go#L190: func (h Header) writeSubset(w io.Writer, exclude map[string]bool, trace *httptrace.ClientTrace) error {
transfer.go#L286: func (t *transferWriter) writeHeader(w io.Writer, trace *httptrace.ClientTrace) error {
transport.go#L537: trace *httptrace.ClientTrace // optional
transport.go#L1781: func (pconn *persistConn) addTLS(ctx context.Context, name string, trace *httptrace.ClientTrace) error {
transport.go#L2690: func (pc *persistConn) readResponse(rc requestAndChan, trace *httptrace.ClientTrace) (resp *Response, err error) {
net/http/httputil
reverseproxy.go#L546: trace := &httptrace.ClientTrace{
net/http/internal/http2
transport.go#L235: trace *httptrace.ClientTrace // or nil
transport.go#L3218: func traceWroteHeaders(trace *httptrace.ClientTrace) {
transport.go#L3224: func traceGot100Continue(trace *httptrace.ClientTrace) {
transport.go#L3230: func traceWait100Continue(trace *httptrace.ClientTrace) {
transport.go#L3236: func traceWroteRequest(trace *httptrace.ClientTrace, err error) {
transport.go#L3242: func traceFirstResponseByte(trace *httptrace.ClientTrace) {
transport.go#L3248: func traceGot1xxResponseFunc(trace *httptrace.ClientTrace) func(int, textproto.MIMEHeader) error {
golang.org/x/net/http2
transport_wrap.go#L235: ctx = httptrace.WithClientTrace(ctx, &httptrace.ClientTrace{