diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cowboy.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy.erl b/src/cowboy.erl index ecbd96f..0c31266 100644 --- a/src/cowboy.erl +++ b/src/cowboy.erl @@ -37,7 +37,7 @@ -export_type([onresponse_fun/0]). %% @doc Start an HTTP listener. --spec start_http(ranch:ref(), non_neg_integer(), any(), +-spec start_http(ranch:ref(), non_neg_integer(), ranch_tcp:opts(), cowboy_protocol:opts()) -> {ok, pid()}. start_http(Ref, NbAcceptors, TransOpts, ProtoOpts) when is_integer(NbAcceptors), NbAcceptors > 0 -> |