net/http.Request.Context (method)
27 uses
net/http (current package)
client.go#L357: oldCtx := req.Context()
h2_bundle.go#L790: cc, err := p.t.dialClientConn(req.Context(), addr, singleUse)
h2_bundle.go#L816: call := p.getStartDialLocked(req.Context(), addr)
h2_bundle.go#L1018: if call.ctx == req.Context() {
h2_bundle.go#L7666: case <-req.Context().Done():
h2_bundle.go#L7668: err = req.Context().Err()
h2_bundle.go#L8303: ctx := req.Context()
h2_bundle.go#L9097: trace := httptrace.ContextClientTrace(req.Context())
h2_bundle.go#L10218: trace := httptrace.ContextClientTrace(req.Context())
h2_bundle.go#L10226: trace := httptrace.ContextClientTrace(req.Context())
request.go#L345: func (r *Request) Context() context.Context {
request.go#L561: trace := httptrace.ContextClientTrace(r.Context())
server.go#L3222: s, _ := r.Context().Value(ServerContextKey).(*Server)
server.go#L3380: ctx, cancelCtx = context.WithTimeout(r.Context(), h.dt)
transport.go#L515: ctx := req.Context()
transport.go#L1352: ctx := req.Context()
transport.go#L1407: case <-req.Context().Done():
transport.go#L1408: return nil, req.Context().Err()
transport.go#L1421: case <-req.Context().Done():
transport.go#L1422: return nil, req.Context().Err()
transport.go#L2129: trace := httptrace.ContextClientTrace(rc.req.Context())
transport.go#L2252: case <-rc.req.Context().Done():
transport.go#L2254: pc.t.cancelRequest(rc.cancelKey, rc.req.Context().Err())
transport.go#L2647: ctxDoneChan := req.Context().Done()
transport.go#L2698: canceled = pc.t.cancelRequest(req.cancelKey, req.Context().Err())
transport.go#L2710: if logf, ok := tr.Request.Context().Value(tLogKey{}).(func(string, ...any)); ok {
github.com/gotd/td/transport
websocket.go#L69: reqCtx := r.Context().Done()
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |