class

HT2::DataFrame

Inherits HT2::Frame < Reference < Object

Constructors

new(stream_id : UInt32, data : Bytes, flags : FrameFlags = FrameFlags::None, padding : UInt8 = 0)
Source
parse_payload(stream_id : UInt32, flags : FrameFlags, payload : Bytes) : DataFrame
Source

Instance methods

data
Source
frame_type
Source
padding
Source
payload
Source
write_to(io : IO) : Nil

Zero-copy write for DATA frames without padding

Source