diff --git a/src/cowboy.erl b/src/cowboy.erl index 0c312664..f343f412 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 ->