0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 20:50:24 +00:00

Rename the type http_method/0 to cowboy_http:method/0

Exported types are much better than include files.
This commit is contained in:
Loïc Hoguin 2012-01-23 09:21:33 +01:00
parent 3667ec9451
commit 9f40167487
4 changed files with 8 additions and 5 deletions

View file

@ -26,6 +26,11 @@
-export([connection_to_atom/1, urldecode/1, urldecode/2, urlencode/1,
urlencode/2]).
-type method() :: 'OPTIONS' | 'GET' | 'HEAD'
| 'POST' | 'PUT' | 'DELETE' | 'TRACE' | binary().
-export_type([method/0]).
-include("include/http.hrl").
-include_lib("eunit/include/eunit.hrl").