From 9e2622becb4d1a37d410f484a14ef32101e560ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 27 Aug 2012 12:58:04 +0200 Subject: Rename cowboy_http_protocol to cowboy_protocol --- src/cowboy.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cowboy.erl') diff --git a/src/cowboy.erl b/src/cowboy.erl index 94cae16..9e4a66a 100644 --- a/src/cowboy.erl +++ b/src/cowboy.erl @@ -24,14 +24,14 @@ start_http(Ref, NbAcceptors, TransOpts, ProtoOpts) when is_integer(NbAcceptors), NbAcceptors > 0 -> ranch:start_listener(Ref, NbAcceptors, - ranch_tcp, TransOpts, cowboy_http_protocol, ProtoOpts). + ranch_tcp, TransOpts, cowboy_protocol, ProtoOpts). %% @doc Start an HTTPS listener. -spec start_https(any(), non_neg_integer(), any(), any()) -> {ok, pid()}. start_https(Ref, NbAcceptors, TransOpts, ProtoOpts) when is_integer(NbAcceptors), NbAcceptors > 0 -> ranch:start_listener(Ref, NbAcceptors, - ranch_ssl, TransOpts, cowboy_http_protocol, ProtoOpts). + ranch_ssl, TransOpts, cowboy_protocol, ProtoOpts). %% @doc Stop a listener. -spec stop_listener(any()) -> ok. -- cgit v1.2.3