MCPcopy Create free account
hub / github.com/imroc/req / HeaderBlockFragment

Method HeaderBlockFragment

internal/http2/frame.go:1322–1325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1320}
1321
1322func (f *PushPromiseFrame) HeaderBlockFragment() []byte {
1323 f.checkValid()
1324 return f.headerFragBuf
1325}
1326
1327func (f *PushPromiseFrame) HeadersEnded() bool {
1328 return f.FrameHeader.Flags.Has(FlagPushPromiseEndHeaders)

Callers

nothing calls this directly

Calls 1

checkValidMethod · 0.80

Tested by

no test coverage detected