diff options
Diffstat (limited to 'test/ws_SUITE_data/ws_echo.erl')
-rw-r--r-- | test/ws_SUITE_data/ws_echo.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ws_SUITE_data/ws_echo.erl b/test/ws_SUITE_data/ws_echo.erl index 4b832df..a94b4c0 100644 --- a/test/ws_SUITE_data/ws_echo.erl +++ b/test/ws_SUITE_data/ws_echo.erl @@ -7,7 +7,9 @@ -export([websocket_info/2]). init(Req, _) -> - {cowboy_websocket, Req, undefined}. + {cowboy_websocket, Req, undefined, #{ + compress => true + }}. websocket_handle({text, Data}, State) -> {reply, {text, Data}, State}; |