diff options
author | Loïc Hoguin <[email protected]> | 2012-08-27 12:58:04 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-08-27 12:58:04 +0200 |
commit | 9e2622becb4d1a37d410f484a14ef32101e560ab (patch) | |
tree | 2381504b9be77b6f5b36595001afcd71cd9ca7cb /src/cowboy.erl | |
parent | cc2e084d456c99b3d71f09c08f516195b6015dae (diff) | |
download | cowboy-9e2622becb4d1a37d410f484a14ef32101e560ab.tar.gz cowboy-9e2622becb4d1a37d410f484a14ef32101e560ab.tar.bz2 cowboy-9e2622becb4d1a37d410f484a14ef32101e560ab.zip |
Rename cowboy_http_protocol to cowboy_protocol
Diffstat (limited to 'src/cowboy.erl')
-rw-r--r-- | src/cowboy.erl | 4 |
1 files changed, 2 insertions, 2 deletions
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. |