golang.org/x/net/http2.clientStream.bytesRemain (field)
8 uses
golang.org/x/net/http2 (current package)
transport.go#L290: bytesRemain int64 // -1 means unknown; owned by transportResponseBody.Read
transport.go#L2052: cs.bytesRemain = res.ContentLength
transport.go#L2109: if cs.bytesRemain != -1 {
transport.go#L2110: if int64(n) > cs.bytesRemain {
transport.go#L2111: n = int(cs.bytesRemain)
transport.go#L2117: return int(cs.bytesRemain), err
transport.go#L2119: cs.bytesRemain -= int64(n)
transport.go#L2120: if err == io.EOF && cs.bytesRemain > 0 {
![]() |
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. |