struct HTTP2::HPACK::Encoder
- HTTP2::HPACK::Encoder
- Struct
- Value
- Object
Defined in:
hpack.crConstructors
Instance Method Summary
- #default_huffman : Bool
- #default_huffman=(default_huffman : Bool)
- #default_indexing : Indexing
- #default_indexing=(default_indexing : Indexing)
- #encode(headers : HTTP::Headers, indexing = default_indexing, huffman = default_huffman, writer : Nil | IO::Memory = IO::Memory.new)
- #encode(name, values, indexing, huffman)
- #table : DynamicTable
Constructor Detail
def self.new(indexing : HTTP2::HPACK::Indexing = Indexing::NONE, huffman : Bool = false, max_table_size = 4096)
#
Instance Method Detail
def encode(headers : HTTP::Headers, indexing = default_indexing, huffman = default_huffman, writer : Nil | IO::Memory = IO::Memory.new)
#