aboutsummaryrefslogtreecommitdiffstats
path: root/test/ws_timeout_hibernate_handler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/ws_timeout_hibernate_handler.erl')
-rw-r--r--test/ws_timeout_hibernate_handler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ws_timeout_hibernate_handler.erl b/test/ws_timeout_hibernate_handler.erl
index 777948a..871a686 100644
--- a/test/ws_timeout_hibernate_handler.erl
+++ b/test/ws_timeout_hibernate_handler.erl
@@ -2,7 +2,7 @@
-module(ws_timeout_hibernate_handler).
-behaviour(cowboy_http_handler).
--behaviour(cowboy_http_websocket_handler).
+-behaviour(cowboy_websocket_handler).
-export([init/3, handle/2, terminate/2]).
-export([websocket_init/3, websocket_handle/3,
websocket_info/3, websocket_terminate/3]).