aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_http2.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cow_http2.erl')
-rw-r--r--src/cow_http2.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cow_http2.erl b/src/cow_http2.erl
index e6f7738..ec4aab9 100644
--- a/src/cow_http2.erl
+++ b/src/cow_http2.erl
@@ -36,8 +36,14 @@
-export([window_update/2]).
-type streamid() :: pos_integer().
+-export_type([streamid/0]).
+
-type fin() :: fin | nofin.
+-export_type([fin/0]).
+
-type head_fin() :: head_fin | head_nofin.
+-export_type([head_fin/0]).
+
-type exclusive() :: exclusive | shared.
-type weight() :: 1..256.
-type settings() :: map().