class Duo::HPACK::Encoder

Defined in:

duo/hpack/hpack.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(indexing : Duo::HPACK::Indexing = Indexing::NONE, huffman : Bool = false, max_table_size = 4096) #

[View source]

Instance Method Detail

def default_huffman : Bool #

[View source]
def default_huffman=(default_huffman : Bool) #

[View source]
def default_indexing : Indexing #

[View source]
def default_indexing=(default_indexing : Indexing) #

[View source]
def encode(headers : HTTP::Headers, indexing = default_indexing, huffman = default_huffman, writer : Nil | IO::Memory = IO::Memory.new) #

[View source]
def encode(name, values, indexing, huffman) #

[View source]
def table : DynamicTable #

[View source]