aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_handler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_http_handler.erl')
-rw-r--r--src/cowboy_http_handler.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cowboy_http_handler.erl b/src/cowboy_http_handler.erl
index 8e36d0c..67f07bc 100644
--- a/src/cowboy_http_handler.erl
+++ b/src/cowboy_http_handler.erl
@@ -15,6 +15,8 @@
-module(cowboy_http_handler).
-export([behaviour_info/1]).
+-spec behaviour_info(_)
+ -> undefined | [{handle, 2} | {init, 3} | {terminate, 2}, ...].
behaviour_info(callbacks) ->
[{init, 3}, {handle, 2}, {terminate, 2}];
behaviour_info(_Other) ->