0
Fork 0
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:
Michiel Hakvoort 2011-09-29 13:38:17 +02:00
parent eff9477201
commit d8e841c8a2
2 changed files with 62 additions and 0 deletions

View file

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