Browse Source

Use the ranch_ssl:opts() type in cowboy:start_https/4 spec

Loïc Hoguin 12 years ago
parent
commit
0e0ec7b120
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/cowboy.erl

+ 1 - 1
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 ->