From 0e0ec7b1203a8490ee9a876f9274fe0c64e708f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 16 May 2013 19:16:40 +0200 Subject: Use the ranch_ssl:opts() type in cowboy:start_https/4 spec --- src/cowboy.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -> -- cgit v1.2.3