diff --git a/src/cow_qpack.erl b/src/cow_qpack.erl index 98089ae..5b23047 100644 --- a/src/cow_qpack.erl +++ b/src/cow_qpack.erl @@ -15,6 +15,7 @@ -module(cow_qpack). -dialyzer(no_improper_lists). +-export([init/0]). -export([init/1]). -export([init/3]). @@ -137,6 +138,11 @@ %% State initialization. +-spec init() -> state(). + +init() -> + init(encoder). + -spec init(decoder | encoder) -> state(). init(Role) ->