MCPcopy Create free account
hub / github.com/dgrr/http2 / Data

Struct Data

data.go:18–22  ·  view source on GitHub ↗

Data defines a FrameData Data frames can have the following flags: END_STREAM PADDED https://tools.ietf.org/html/rfc7540#section-6.1

Source from the content-addressed store, hash-verified

16//
17// https://tools.ietf.org/html/rfc7540#section-6.1
18type Data struct {
19 endStream bool
20 hasPadding bool
21 b []byte // data bytes
22}
23
24func (data *Data) Type() FrameType {
25 return FrameData

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected