aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_protocol.erl
diff options
context:
space:
mode:
authorMichiel Hakvoort <[email protected]>2011-09-29 13:38:17 +0200
committerMichiel Hakvoort <[email protected]>2011-09-30 08:49:58 +0200
commitd8e841c8a2c3afc45dad41490c72d82203019d68 (patch)
treebc1846053417aeddbf5d7a147b10856e49f3304b /src/cowboy_http_protocol.erl
parenteff94772018b77b969b3a3afe465789c8aa7bef1 (diff)
downloadcowboy-d8e841c8a2c3afc45dad41490c72d82203019d68.tar.gz
cowboy-d8e841c8a2c3afc45dad41490c72d82203019d68.tar.bz2
cowboy-d8e841c8a2c3afc45dad41490c72d82203019d68.zip
Add cowboy_protocol behaviour
Diffstat (limited to 'src/cowboy_http_protocol.erl')
-rw-r--r--src/cowboy_http_protocol.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_http_protocol.erl b/src/cowboy_http_protocol.erl
index fe5f375..40dc51c 100644
--- a/src/cowboy_http_protocol.erl
+++ b/src/cowboy_http_protocol.erl
@@ -30,6 +30,7 @@
%% @see cowboy_dispatcher
%% @see cowboy_http_handler
-module(cowboy_http_protocol).
+-behaviour(cowboy_protocol).
-export([start_link/4]). %% API.
-export([init/4, parse_request/1]). %% FSM.