golang.org/x/net/http2.stream.body (field)
9 uses
golang.org/x/net/http2 (current package)
server.go#L578: body *pipe // non-nil if expecting DATA frames
server.go#L1532: if p := st.body; p != nil {
server.go#L1691: if st.body == nil {
server.go#L1697: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
server.go#L1711: wrote, err := st.body.Write(data)
server.go#L1761: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
server.go#L1764: st.body.closeWithErrorAndCode(io.EOF, st.copyTrailersToHandlerRequest)
server.go#L1765: st.body.CloseWithError(io.EOF)
server.go#L1876: st.body = req.Body.(*requestBody).pipe // may be nil
![]() |
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. |