mirror of
https://github.com/golang/go
synced 2024-11-18 11:55:01 -07:00
net/http/httptrace: remove the mention of http client
This sentence is partially guilty why httptrace is considered as an http.Client tracing package. Removing the mention. Updates #17152. Change-Id: I69f78a6e10817db933f44e464a949ae896e44ec6 Reviewed-on: https://go-review.googlesource.com/29755 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
159a90b93a
commit
893edc9b3f
@ -65,8 +65,8 @@ func WithClientTrace(ctx context.Context, trace *ClientTrace) context.Context {
|
|||||||
return ctx
|
return ctx
|
||||||
}
|
}
|
||||||
|
|
||||||
// ClientTrace is a set of hooks to run at various stages of an HTTP
|
// ClientTrace is a set of hooks to run at various stages of an outgoing
|
||||||
// client request. Any particular hook may be nil. Functions may be
|
// HTTP request. Any particular hook may be nil. Functions may be
|
||||||
// called concurrently from different goroutines, starting after the
|
// called concurrently from different goroutines, starting after the
|
||||||
// call to Transport.RoundTrip and ending either when RoundTrip
|
// call to Transport.RoundTrip and ending either when RoundTrip
|
||||||
// returns an error, or when the Response.Body is closed.
|
// returns an error, or when the Response.Body is closed.
|
||||||
|
Loading…
Reference in New Issue
Block a user