aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_rest.erl
diff options
context:
space:
mode:
authorJames Fish <[email protected]>2013-02-15 00:53:40 +0000
committerJames Fish <[email protected]>2013-02-16 16:19:53 +0000
commit6d67ad809c45567e2dd49ba78e08daa57549ba15 (patch)
tree2ef488c239ca4114a0e0a25f8800f23a15a892b1 /src/cowboy_rest.erl
parente3daf439da42283cf65faa3311ff73bb7ffe413b (diff)
downloadcowboy-6d67ad809c45567e2dd49ba78e08daa57549ba15.tar.gz
cowboy-6d67ad809c45567e2dd49ba78e08daa57549ba15.tar.bz2
cowboy-6d67ad809c45567e2dd49ba78e08daa57549ba15.zip
Add sub protocol behaviour
Diffstat (limited to 'src/cowboy_rest.erl')
-rw-r--r--src/cowboy_rest.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_rest.erl b/src/cowboy_rest.erl
index d3a91d3..a40e1c6 100644
--- a/src/cowboy_rest.erl
+++ b/src/cowboy_rest.erl
@@ -19,6 +19,7 @@
%% documentation available at http://wiki.basho.com/Webmachine.html
%% at the time of writing.
-module(cowboy_rest).
+-behaviour(cowboy_sub_protocol).
-export([upgrade/4]).