mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Add cowboy_protocol behaviour
This commit is contained in:
parent
eff9477201
commit
d8e841c8a2
2 changed files with 62 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue