diff options
Diffstat (limited to 'src/cowboy_http.erl')
-rw-r--r-- | src/cowboy_http.erl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cowboy_http.erl b/src/cowboy_http.erl index 7c1a2d3..2f29375 100644 --- a/src/cowboy_http.erl +++ b/src/cowboy_http.erl @@ -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"). |