0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-16 05:00:24 +00:00

Add sub protocol behaviour

This commit is contained in:
James Fish 2013-02-15 00:53:40 +00:00
parent e3daf439da
commit 6d67ad809c
4 changed files with 41 additions and 1 deletions

View file

@ -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]).