class

Forest::Frame

Inherits Reference / Object

Constructors

from_io(io : IO, continuation : Bool = false, hpack_decoder : Hpack::Decoder | Nil = nil, maximum_frame_size : Int32 = SETTINGS_MAX_FRAME_SIZE, maximum_header_continuation_size : Int32 = MAX_HEADER_CONTINUATION_SIZE) : Frame
Source

Class methods

parse_exclusive_stream_dependency(io : IO) : Tuple(UInt32, Int32)
Source
parse_length_type(io : IO) : Tuple(Int32, UInt32)
Source
parse_promised_stream_id(io : IO) : Int32
Source
parse_stream_identifier(io : IO) : Int32
Source
parse_window_size_increment(io : IO) : Int32
Source
read_bytes(io, size : Int32)
Source
write_error(io : IO, error : Error)
Source
write_exclusive_stream_dependency(io : IO, exclusive_stream_dependency : Int32)
Source
write_length_type(io : IO, length : Int32, type : Type)
Source
write_padding(io : IO, padding_length : UInt8, data : Bytes | Nil = nil)
Source
write_promised_stream_id(io : IO, promised_stream_id : Int32)
Source
write_stream_identifier(io : IO, stream_identifier : Int32)
Source
write_window_size_increment(io : IO, window_size_increment : Int32)
Source

Instance methods

streamIdentifier
Source

Nested types