aboutsummaryrefslogtreecommitdiffstats
path: root/test/ws_SUITE_data/ws_echo.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/ws_SUITE_data/ws_echo.erl')
-rw-r--r--test/ws_SUITE_data/ws_echo.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ws_SUITE_data/ws_echo.erl b/test/ws_SUITE_data/ws_echo.erl
index c4ab406..89ebcb6 100644
--- a/test/ws_SUITE_data/ws_echo.erl
+++ b/test/ws_SUITE_data/ws_echo.erl
@@ -7,7 +7,7 @@
-export([websocket_info/3]).
init(Req, _) ->
- {ws, Req, undefined}.
+ {cowboy_websocket, Req, undefined}.
websocket_handle({text, Data}, Req, State) ->
{reply, {text, Data}, Req, State};