(str *Stream, contentLength int64)
| 31 | } |
| 32 | |
| 33 | func newBody(str *Stream, contentLength int64) *body { |
| 34 | b := &body{str: str} |
| 35 | if contentLength >= 0 { |
| 36 | b.hasContentLength = true |
| 37 | b.remainingContentLength = contentLength |
| 38 | } |
| 39 | return b |
| 40 | } |
| 41 | |
| 42 | func (r *body) StreamID() quic.StreamID { return r.str.StreamID() } |
| 43 |
no outgoing calls
no test coverage detected
searching dependent graphs…