class Duo::HPACK::Encoder
- Duo::HPACK::Encoder
- Reference
- Object
Defined in:
duo/hpack/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 : Duo::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)
#