diff options
author | Loïc Hoguin <[email protected]> | 2017-05-31 14:11:38 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-05-31 14:11:38 +0200 |
commit | 2730f7188738cc7b1100e50bcc8567d33ecb3934 (patch) | |
tree | 66d1daac50363684954316dc6b371a51188ce6f8 /doc/src/guide/embedded.asciidoc | |
parent | a004ad710eddd0c21aaccc30d5633a76b06164b5 (diff) | |
download | ranch-2730f7188738cc7b1100e50bcc8567d33ecb3934.tar.gz ranch-2730f7188738cc7b1100e50bcc8567d33ecb3934.tar.bz2 ranch-2730f7188738cc7b1100e50bcc8567d33ecb3934.zip |
Deprecated ranch:start_listener/6 and child_spec/6
The NumAcceptors argument has been moved to transport option
num_acceptor, which defaults to 10. The functions now take
one less argument. The old functions are still here, though
deprecated.
Diffstat (limited to 'doc/src/guide/embedded.asciidoc')
-rw-r--r-- | doc/src/guide/embedded.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/guide/embedded.asciidoc b/doc/src/guide/embedded.asciidoc index 593a807..55c018b 100644 --- a/doc/src/guide/embedded.asciidoc +++ b/doc/src/guide/embedded.asciidoc @@ -17,7 +17,7 @@ regardless of the number of listeners you will use. Then you need to add the child specs for each listener. Ranch has a convenience function for getting the listeners child specs -called `ranch:child_spec/6`, that works like `ranch:start_listener/6`, +called `ranch:child_spec/5`, that works like `ranch:start_listener/5`, except that it doesn't start anything, it only returns child specs. As for `ranch_sup`, the child spec is simple enough to not require a |