aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_websocket.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-02-17 22:17:03 +0100
committerLoïc Hoguin <[email protected]>2013-02-17 22:17:03 +0100
commitd4ed41e79b55eb1c28d70ab5c922cd498773e52c (patch)
tree0f29f3ae698db01ecef17840fa2b4770e3aea472 /src/cowboy_websocket.erl
parent5dec37bb9e38312dcd03cf353d7564a3d9298bbe (diff)
parent6d67ad809c45567e2dd49ba78e08daa57549ba15 (diff)
downloadcowboy-d4ed41e79b55eb1c28d70ab5c922cd498773e52c.tar.gz
cowboy-d4ed41e79b55eb1c28d70ab5c922cd498773e52c.tar.bz2
cowboy-d4ed41e79b55eb1c28d70ab5c922cd498773e52c.zip
Merge branch 'sub_protocol-behaviour' of git://github.com/fishcakez/cowboy
Diffstat (limited to 'src/cowboy_websocket.erl')
-rw-r--r--src/cowboy_websocket.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_websocket.erl b/src/cowboy_websocket.erl
index fa74223..7bb5e74 100644
--- a/src/cowboy_websocket.erl
+++ b/src/cowboy_websocket.erl
@@ -17,6 +17,7 @@
%% Cowboy supports versions 7 through 17 of the Websocket drafts.
%% It also supports RFC6455, the proposed standard for Websocket.
-module(cowboy_websocket).
+-behaviour(cowboy_sub_protocol).
%% API.
-export([upgrade/4]).