aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-01-23 09:28:29 +0100
committerLoïc Hoguin <[email protected]>2012-01-23 09:28:29 +0100
commit8622dff906a1bdddf588e1fe006307488a824d3a (patch)
treef957733116d115154a4b6602d18948acb0937398 /src/cowboy_http.erl
parent314483a0b6609873f5c215d24e662016374128ec (diff)
downloadcowboy-8622dff906a1bdddf588e1fe006307488a824d3a.tar.gz
cowboy-8622dff906a1bdddf588e1fe006307488a824d3a.tar.bz2
cowboy-8622dff906a1bdddf588e1fe006307488a824d3a.zip
Rename the type http_version/0 to cowboy_http:version/0
Diffstat (limited to 'src/cowboy_http.erl')
-rw-r--r--src/cowboy_http.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl
index 4891d72..41c1a71 100644
--- a/src/cowboy_http.erl
+++ b/src/cowboy_http.erl
@@ -32,8 +32,9 @@
Port::integer() | undefined, Path::binary()}
| {scheme, Scheme::binary(), binary()}
| {abs_path, binary()} | binary().
+-type version() :: {Major::non_neg_integer(), Minor::non_neg_integer()}.
--export_type([method/0, uri/0]).
+-export_type([method/0, uri/0, version/0]).
-include("include/http.hrl").
-include_lib("eunit/include/eunit.hrl").