diff options
author | ferigis <[email protected]> | 2016-05-23 10:48:48 -0700 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-09-19 13:42:26 +0200 |
commit | bd9bfdf42dd529072e56e94f8e0ca4315db7330a (patch) | |
tree | 3d47b101ddfd178616654027f6c71e2c70285b73 /doc/src/manual/ranch.asciidoc | |
parent | 96e74c91def06ab3e1b35a5a3b2cd832b11db3e8 (diff) | |
download | ranch-bd9bfdf42dd529072e56e94f8e0ca4315db7330a.tar.gz ranch-bd9bfdf42dd529072e56e94f8e0ca4315db7330a.tar.bz2 ranch-bd9bfdf42dd529072e56e94f8e0ca4315db7330a.zip |
Renaming NbAcceptors to NumAcceptors
Diffstat (limited to 'doc/src/manual/ranch.asciidoc')
-rw-r--r-- | doc/src/manual/ranch.asciidoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/manual/ranch.asciidoc b/doc/src/manual/ranch.asciidoc index 22ab159..2e4f177 100644 --- a/doc/src/manual/ranch.asciidoc +++ b/doc/src/manual/ranch.asciidoc @@ -68,10 +68,10 @@ This function MUST be used by a connection process to inform Ranch that it initialized properly and let it perform any additional operations before the socket can be safely used. -=== child_spec(Ref, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -> supervisor:child_spec() +=== child_spec(Ref, NumAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -> supervisor:child_spec() Ref = ref():: Listener name. -NbAcceptors = non_neg_integer():: Number of acceptor processes. +NumAcceptors = non_neg_integer():: Number of acceptor processes. Transport = module():: Transport module. TransOpts = any():: Transport options. Protocol = module():: Protocol module. @@ -145,10 +145,10 @@ Set the protocol options for the given listener. The change will be applied immediately for all new connections. Old connections will not receive the new options. -=== start_listener(Ref, NbAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -> {ok, pid()} | {error, badarg} +=== start_listener(Ref, NumAcceptors, Transport, TransOpts, Protocol, ProtoOpts) -> {ok, pid()} | {error, badarg} Ref = ref():: Listener name. -NbAcceptors = non_neg_integer():: Number of acceptor processes. +NumAcceptors = non_neg_integer():: Number of acceptor processes. Transport = module():: Transport module. TransOpts = any():: Transport options. Protocol = module():: Protocol module. |