aboutsummaryrefslogtreecommitdiffstats
path: root/test/active_echo_protocol.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-08-20 13:00:55 +0200
committerLoïc Hoguin <[email protected]>2012-08-20 13:00:55 +0200
commit9cafa5e675065993c117cd94cc903248f5c97991 (patch)
tree688b7ed467074b81f7557ac80dba363a127669c4 /test/active_echo_protocol.erl
parent0d84eda41c460433baa93cd06cb82a3d47cf814c (diff)
downloadranch-9cafa5e675065993c117cd94cc903248f5c97991.tar.gz
ranch-9cafa5e675065993c117cd94cc903248f5c97991.tar.bz2
ranch-9cafa5e675065993c117cd94cc903248f5c97991.zip
Add the 'ranch_protocol' behaviour
Diffstat (limited to 'test/active_echo_protocol.erl')
-rw-r--r--test/active_echo_protocol.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/active_echo_protocol.erl b/test/active_echo_protocol.erl
index ac53d12..875bdd2 100644
--- a/test/active_echo_protocol.erl
+++ b/test/active_echo_protocol.erl
@@ -1,4 +1,5 @@
-module(active_echo_protocol).
+-behaviour(ranch_protocol).
-export([start_link/4]).
-export([init/4]).