aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy.erl')
-rw-r--r--src/cowboy.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cowboy.erl b/src/cowboy.erl
index d9e32e7..e2868a1 100644
--- a/src/cowboy.erl
+++ b/src/cowboy.erl
@@ -20,6 +20,9 @@
-export([stop_listener/1]).
-export([set_env/3]).
+-type http_headers() :: [{binary(), iodata()}].
+-export_type([http_headers/0]).
+
-type http_version() :: 'HTTP/1.1' | 'HTTP/1.0'.
-export_type([http_version/0]).