struct

HPack::DecodeResult

Inherits Struct < Value < Object

The result of one Decoder#decode_each call.

decoded_size is the HTTP/2 field-section size of the whole block: the sum of name.bytesize + value.bytesize + 32 over every decoded field, including fields suppressed after the limit was crossed. limit_exceeded is true when a configured max_field_section_size was crossed.

Constructors

new(decoded_size : UInt64, limit_exceeded : Bool)
Source

Instance methods

clone
Source
copy_with(decoded_size _decoded_size = @decoded_size, limit_exceeded _limit_exceeded = @limit_exceeded)
Source
decoded_size
limit_exceeded