aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_req.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-01-23 09:21:33 +0100
committerLoïc Hoguin <[email protected]>2012-01-23 09:21:33 +0100
commit9f4016748782876c4ac006a438df52a6bf19203c (patch)
tree1153931dcd05bf58a575edbb36b206f7828d8f3c /src/cowboy_http_req.erl
parent3667ec9451b968683b57e95be025f80ab0a6bdfb (diff)
downloadcowboy-9f4016748782876c4ac006a438df52a6bf19203c.tar.gz
cowboy-9f4016748782876c4ac006a438df52a6bf19203c.tar.bz2
cowboy-9f4016748782876c4ac006a438df52a6bf19203c.zip
Rename the type http_method/0 to cowboy_http:method/0
Exported types are much better than include files.
Diffstat (limited to 'src/cowboy_http_req.erl')
-rw-r--r--src/cowboy_http_req.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_http_req.erl b/src/cowboy_http_req.erl
index aa30d2c..520dab8 100644
--- a/src/cowboy_http_req.erl
+++ b/src/cowboy_http_req.erl
@@ -56,7 +56,7 @@
%% Request API.
%% @doc Return the HTTP method of the request.
--spec method(#http_req{}) -> {http_method(), #http_req{}}.
+-spec method(#http_req{}) -> {cowboy_http:method(), #http_req{}}.
method(Req) ->
{Req#http_req.method, Req}.