frameheader

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FrameHeader

type FrameHeader []byte

func NewFrameHeader

func NewFrameHeader() FrameHeader

func (FrameHeader) Fill

func (f FrameHeader) Fill(
	length int,
	t http2.FrameType,
	flags http2.Flags,
	streamID uint32,
)

func (FrameHeader) Flags

func (f FrameHeader) Flags() http2.Flags

func (FrameHeader) Length

func (f FrameHeader) Length() int

func (FrameHeader) SetFlags

func (f FrameHeader) SetFlags(flag http2.Flags)

func (FrameHeader) SetLength

func (f FrameHeader) SetLength(l int)

func (FrameHeader) SetStreamID

func (f FrameHeader) SetStreamID(streamID uint32)

func (FrameHeader) SetType

func (f FrameHeader) SetType(t http2.FrameType)

func (FrameHeader) StreamID

func (f FrameHeader) StreamID() uint32

func (FrameHeader) String

func (f FrameHeader) String() string

func (FrameHeader) Type

func (f FrameHeader) Type() http2.FrameType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL