hpack v1.0.2 HPack.Table

Functions to maintain the (de)compression context. Contains the static tables as well as all menagement of the dynamic table.

Summary

Types

t :: pid

Functions

add(arg, table)

Specs

add({String.t, String.t}, t) :: :ok
find(key, value, table)

Specs

find(String.t, String.t, t) ::
  {:none} |
  {:keyindex, integer} |
  {:fullindex, integer}
lookup(idx, table)

Specs

lookup(integer, t) :: tuple | nil
resize(size, table)

Specs

resize(integer, t) :: :ok
size(table)

Specs

size(t) :: integer
start_link(max_table_size)

Specs

start_link(integer) :: {:ok, t}