struct

HTTP2::FrameHeader

Inherits Struct < Value < Object

The fixed nine-octet header shared by every HTTP/2 frame.

Constants

DEFAULT_MAX_PAYLOAD = 16384
MAX_PAYLOAD = 16777215
MAX_STREAM_ID = 2147483647_u32
RESERVED_STREAM_MASK = 2147483647_u32
SIZE = 9

Constructors

new(length : Int32, type_code : UInt8, flags : UInt8, stream_id : UInt32)
Source
read(io : IO) : self
Source

Instance methods

flags
Source
length
Source
stream_id
Source
type_code
Source
write(io : IO) : Nil
Source