diff options
Diffstat (limited to 'doc/src/manual')
-rw-r--r-- | doc/src/manual/ranch.procs.asciidoc | 4 | ||||
-rw-r--r-- | doc/src/manual/ranch_transport.asciidoc | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/manual/ranch.procs.asciidoc b/doc/src/manual/ranch.procs.asciidoc index 0f29533..61973f9 100644 --- a/doc/src/manual/ranch.procs.asciidoc +++ b/doc/src/manual/ranch.procs.asciidoc @@ -34,13 +34,13 @@ A list of pids is returned. .Get the pids of the acceptor processes [source,erlang] ---- -Pids = ranch:procs(acceptors). +Pids = ranch:procs(example_listener, acceptors). ---- .Get the pids of the connection processes [source,erlang] ---- -Pids = ranch:procs(connections). +Pids = ranch:procs(example_listener, connections). ---- == See also diff --git a/doc/src/manual/ranch_transport.asciidoc b/doc/src/manual/ranch_transport.asciidoc index 4717281..a4c90d0 100644 --- a/doc/src/manual/ranch_transport.asciidoc +++ b/doc/src/manual/ranch_transport.asciidoc @@ -354,6 +354,7 @@ The exact type will vary depending on the transport module. == Changelog +* *2.2*: The callback `format_error/1` was added. * *2.0*: The callback `listen/1` has changed to accept a map of transport options instead of socket options. * *2.0*: The callback `messages/0` return value was updated to |