net/http.Request.WithContext (method)
8 uses
net/http (current package)
h2_bundle.go#L6289: }).WithContext(st.ctx)
request.go#L368: func (r *Request) WithContext(ctx context.Context) *Request {
server.go#L3852: r = r.WithContext(ctx)
net/http/httptest
httptest.go#L54: req = req.WithContext(ctx)
net/http/httputil
reverseproxy.go#L492: outreq = outreq.WithContext(httptrace.WithClientTrace(outreq.Context(), trace))
go.pact.im/x/httprange
request.go#L31: return (*http.Request)(r).WithContext(ctx), nil
golang.org/x/net/http2
server.go#L2319: }).WithContext(st.ctx)
google.golang.org/grpc/internal/transport
proxy.go#L111: req = req.WithContext(ctx)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)