From cc2e084d456c99b3d71f09c08f516195b6015dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 27 Aug 2012 12:46:42 +0200 Subject: Update behaviours for R15B+ This effectively drops the R14B compatibility. The cowboy_req:req() type will be introduced in a future commit. It refers to the #http_req{} record. --- test/websocket_handler_init_shutdown.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/websocket_handler_init_shutdown.erl') diff --git a/test/websocket_handler_init_shutdown.erl b/test/websocket_handler_init_shutdown.erl index aa9e056..9d6c475 100644 --- a/test/websocket_handler_init_shutdown.erl +++ b/test/websocket_handler_init_shutdown.erl @@ -2,7 +2,7 @@ -module(websocket_handler_init_shutdown). -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]). -- cgit v1.2.3