Data defines a FrameData Data frames can have the following flags: END_STREAM PADDED https://tools.ietf.org/html/rfc7540#section-6.1
| 16 | // |
| 17 | // https://tools.ietf.org/html/rfc7540#section-6.1 |
| 18 | type Data struct { |
| 19 | endStream bool |
| 20 | hasPadding bool |
| 21 | b []byte // data bytes |
| 22 | } |
| 23 | |
| 24 | func (data *Data) Type() FrameType { |
| 25 | return FrameData |
nothing calls this directly
no outgoing calls
no test coverage detected