net/http.Request.Context (method)
26 uses
net/http (current package)
client.go#L348: oldCtx := req.Context()
client.go#L364: if oldCtx := req.Context(); timeBeforeContextDeadline(deadline, oldCtx) {
h2_bundle.go#L6816: ctx := req.Context()
h2_bundle.go#L6993: case <-req.Context().Done():
h2_bundle.go#L6994: return nil, req.Context().Err()
h2_bundle.go#L7591: cs.trace = httptrace.ContextClientTrace(req.Context())
h2_bundle.go#L7638: ctx := req.Context()
h2_bundle.go#L8116: trace := httptrace.ContextClientTrace(req.Context())
h2_bundle.go#L9212: trace := httptrace.ContextClientTrace(req.Context())
h2_bundle.go#L9220: trace := httptrace.ContextClientTrace(req.Context())
request.go#L336: func (r *Request) Context() context.Context {
request.go#L548: trace := httptrace.ContextClientTrace(r.Context())
server.go#L3147: s, _ := r.Context().Value(ServerContextKey).(*Server)
server.go#L3299: ctx, cancelCtx = context.WithTimeout(r.Context(), h.dt)
transport.go#L504: ctx := req.Context()
transport.go#L1327: ctx := req.Context()
transport.go#L1382: case <-req.Context().Done():
transport.go#L1383: return nil, req.Context().Err()
transport.go#L1396: case <-req.Context().Done():
transport.go#L1397: return nil, req.Context().Err()
transport.go#L2094: trace := httptrace.ContextClientTrace(rc.req.Context())
transport.go#L2217: case <-rc.req.Context().Done():
transport.go#L2219: pc.t.cancelRequest(rc.cancelKey, rc.req.Context().Err())
transport.go#L2605: ctxDoneChan := req.Context().Done()
transport.go#L2656: canceled = pc.t.cancelRequest(req.cancelKey, req.Context().Err())
transport.go#L2668: if logf, ok := tr.Request.Context().Value(tLogKey{}).(func(string, ...interface{})); ok {