Documentation ¶
Index ¶
Constants ¶
View Source
const ( DataType byte = iota HeadersType PriorityType RstStreamType SettingsType PushPromiseType PingType GoAwayType WindowUpdateType ContinuationType )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct { // Remember to ignore the first bit of this field when reading ID uint32 Type byte Flags types.IFlags Length uint32 Payload types.IPayload }
Frame describes the data that is needed to receive and send a frame
func NewErrorFrame ¶
NewErrorFrame is a helper function for easily creating RstStream frames that occur on various errors
Click to show internal directories.
Click to hide internal directories.