diff options
author | Loïc Hoguin <[email protected]> | 2013-05-16 19:16:13 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-05-16 19:16:13 +0200 |
commit | e4bb2ffc7774d5d10cafbbf79ec201c714f61b2d (patch) | |
tree | beae96a09f5af54eb762b51b95122664d8828d2f /src | |
parent | bb89bf6f8d9cb652b758568ead5f8ed21b09add6 (diff) | |
download | cowboy-e4bb2ffc7774d5d10cafbbf79ec201c714f61b2d.tar.gz cowboy-e4bb2ffc7774d5d10cafbbf79ec201c714f61b2d.tar.bz2 cowboy-e4bb2ffc7774d5d10cafbbf79ec201c714f61b2d.zip |
Use the ranch_tcp:opts() type in cowboy:start_http/4 spec
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 -> |