net/http.Request.Context (method)
18 uses
net/http (current package)
client.go#L356: oldCtx := req.Context()
h2_bundle.go#L794: cc, err := p.t.dialClientConn(req.Context(), addr, singleUse)
h2_bundle.go#L820: call := p.getStartDialLocked(req.Context(), addr)
h2_bundle.go#L1022: if call.ctx == req.Context() {
h2_bundle.go#L7756: case <-req.Context().Done():
h2_bundle.go#L7758: err = req.Context().Err()
h2_bundle.go#L8421: ctx := req.Context()
h2_bundle.go#L9254: trace := httptrace.ContextClientTrace(req.Context())
h2_bundle.go#L10394: trace := httptrace.ContextClientTrace(req.Context())
h2_bundle.go#L10402: trace := httptrace.ContextClientTrace(req.Context())
request.go#L351: func (r *Request) Context() context.Context {
request.go#L592: trace := httptrace.ContextClientTrace(r.Context())
server.go#L3497: s, _ := r.Context().Value(ServerContextKey).(*Server)
server.go#L3653: ctx, cancelCtx = context.WithTimeout(r.Context(), h.dt)
transport.go#L532: ctx := req.Context()
transport.go#L594: ctx, cancel := context.WithCancelCause(req.Context())
transport.go#L1435: ctx := req.Context()
transport.go#L2812: if logf, ok := tr.Request.Context().Value(tLogKey{}).(func(string, ...any)); ok {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |