net/http.Request.Context (method)
21 uses
net/http (current package)
client.go#L361: oldCtx := req.Context()
clientconn.go#L380: ctx := req.Context()
clientconn.go#L384: ctx, cancel := context.WithCancelCause(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#L7918: case <-req.Context().Done():
h2_bundle.go#L7920: err = req.Context().Err()
h2_bundle.go#L8607: ctx := req.Context()
h2_bundle.go#L8916: return httpcommon.EncodeHeaders(req.Context(), httpcommon.EncodeHeadersParam{
h2_bundle.go#L10662: trace := httptrace.ContextClientTrace(req.Context())
h2_bundle.go#L10670: trace := httptrace.ContextClientTrace(req.Context())
request.go#L352: func (r *Request) Context() context.Context {
request.go#L583: trace := httptrace.ContextClientTrace(r.Context())
server.go#L3658: s, _ := r.Context().Value(ServerContextKey).(*Server)
server.go#L3820: ctx, cancelCtx = context.WithTimeout(r.Context(), h.dt)
transport.go#L592: ctx := req.Context()
transport.go#L654: ctx, cancel := context.WithCancelCause(req.Context())
transport.go#L1519: ctx := req.Context()
transport.go#L2968: 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.8.4. (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. |