A DataFrame conveys arbitrary, variable-length sequences of octets associated with a stream. See https://httpwg.org/specs/rfc7540.html#rfc.section.6.1
| 635 | // associated with a stream. |
| 636 | // See https://httpwg.org/specs/rfc7540.html#rfc.section.6.1 |
| 637 | type DataFrame struct { |
| 638 | FrameHeader |
| 639 | data []byte |
| 640 | } |
| 641 | |
| 642 | func (f *DataFrame) StreamEnded() bool { |
| 643 | return f.FrameHeader.Flags.Has(FlagDataEndStream) |
nothing calls this directly
no outgoing calls
no test coverage detected