From 9f4016748782876c4ac006a438df52a6bf19203c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 23 Jan 2012 09:21:33 +0100 Subject: Rename the type http_method/0 to cowboy_http:method/0 Exported types are much better than include files. --- src/cowboy_http_req.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cowboy_http_req.erl') 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}. -- cgit v1.2.3