aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-05-16 19:16:40 +0200
committerLoïc Hoguin <[email protected]>2013-05-16 19:17:01 +0200
commit0e0ec7b1203a8490ee9a876f9274fe0c64e708f8 (patch)
tree3ab93c423ae3ddfe1cdba62a1d904dc3c2bd8ef6
parente4bb2ffc7774d5d10cafbbf79ec201c714f61b2d (diff)
downloadcowboy-0e0ec7b1203a8490ee9a876f9274fe0c64e708f8.tar.gz
cowboy-0e0ec7b1203a8490ee9a876f9274fe0c64e708f8.tar.bz2
cowboy-0e0ec7b1203a8490ee9a876f9274fe0c64e708f8.zip
Use the ranch_ssl:opts() type in cowboy:start_https/4 spec
-rw-r--r--src/cowboy.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy.erl b/src/cowboy.erl
index 0c31266..f343f41 100644
--- a/src/cowboy.erl
+++ b/src/cowboy.erl
@@ -45,7 +45,7 @@ start_http(Ref, NbAcceptors, TransOpts, ProtoOpts)
ranch_tcp, TransOpts, cowboy_protocol, ProtoOpts).
%% @doc Start an HTTPS listener.
--spec start_https(ranch:ref(), non_neg_integer(), any(),
+-spec start_https(ranch:ref(), non_neg_integer(), ranch_ssl:opts(),
cowboy_protocol:opts()) -> {ok, pid()}.
start_https(Ref, NbAcceptors, TransOpts, ProtoOpts)
when is_integer(NbAcceptors), NbAcceptors > 0 ->