net/http.Request.Cancel (field)
16 uses
net/http (current package)
client.go#L350: if req.Cancel == nil && knownTransport {
client.go#L361: initialReqCancel := req.Cancel // the user's original Request.Cancel, if any
client.go#L369: req.Cancel = cancel
client.go#L660: Cancel: ireq.Cancel,
h2_bundle.go#L6817: if req.Cancel == nil && ctx.Done() == nil {
h2_bundle.go#L6821: case <-req.Cancel:
h2_bundle.go#L7691: case <-req.Cancel:
request.go#L311: Cancel <-chan struct{}
transport.go#L1380: case <-req.Cancel:
transport.go#L1394: case <-req.Cancel:
transport.go#L2214: case <-rc.req.Cancel:
transport.go#L2604: cancelChan := req.Request.Cancel
golang.org/x/net/http2
transport.go#L315: if req.Cancel == nil && ctx.Done() == nil {
transport.go#L319: case <-req.Cancel:
transport.go#L1188: case <-req.Cancel:
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |