mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Use the ranch_ssl:opts() type in cowboy:start_https/4 spec
This commit is contained in:
parent
e4bb2ffc77
commit
0e0ec7b120
1 changed files with 1 additions and 1 deletions
|
@ -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 ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue