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:
parent
e3daf439da
commit
6d67ad809c
4 changed files with 41 additions and 1 deletions
|
@ -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]).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue