A HeadersFrame is used to open a stream and additionally carries a header block fragment.
| 1050 | // A HeadersFrame is used to open a stream and additionally carries a |
| 1051 | // header block fragment. |
| 1052 | type HeadersFrame struct { |
| 1053 | FrameHeader |
| 1054 | |
| 1055 | // Priority is set if FlagHeadersPriority is set in the FrameHeader. |
| 1056 | Priority http2.PriorityParam |
| 1057 | |
| 1058 | headerFragBuf []byte // not owned |
| 1059 | } |
| 1060 | |
| 1061 | func (f *HeadersFrame) HeaderBlockFragment() []byte { |
| 1062 | f.checkValid() |
nothing calls this directly
no outgoing calls
no test coverage detected