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