diff options
Diffstat (limited to 'src/cowboy_http_protocol.erl')
-rw-r--r-- | src/cowboy_http_protocol.erl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/cowboy_http_protocol.erl b/src/cowboy_http_protocol.erl index d65127d..5ef76be 100644 --- a/src/cowboy_http_protocol.erl +++ b/src/cowboy_http_protocol.erl @@ -34,8 +34,13 @@ %% @see cowboy_http_handler -module(cowboy_http_protocol). --export([start_link/4]). %% API. --export([init/4, parse_request/1, handler_loop/3]). %% FSM. +%% API. +-export([start_link/4]). + +%% Internal. +-export([init/4]). +-export([parse_request/1]). +-export([handler_loop/3]). -include("http.hrl"). -include_lib("eunit/include/eunit.hrl"). @@ -70,7 +75,7 @@ start_link(ListenerPid, Socket, Transport, Opts) -> Pid = spawn_link(?MODULE, init, [ListenerPid, Socket, Transport, Opts]), {ok, Pid}. -%% FSM. +%% Internal. %% @private -spec init(pid(), inet:socket(), module(), any()) -> ok. |