aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/upcoming_2.0_changes.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/guide/upcoming_2.0_changes.asciidoc')
-rw-r--r--doc/src/guide/upcoming_2.0_changes.asciidoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/guide/upcoming_2.0_changes.asciidoc b/doc/src/guide/upcoming_2.0_changes.asciidoc
index 40fc4e9..f60bde6 100644
--- a/doc/src/guide/upcoming_2.0_changes.asciidoc
+++ b/doc/src/guide/upcoming_2.0_changes.asciidoc
@@ -14,6 +14,10 @@ recent Ranch version.
* The function `ranch:accept_ack/1` has been deprecated in
favor of `ranch:handshake/1,2`.
+* The function `ranch:info/1,2` will return a map containing
+ each listener's information rather than a list of key/values.
+ The `num_acceptors` key will be removed.
+
* The socket will no longer be passed to the protocol when
starting it. It will be available as a return value from
`ranch:handshake/1,2` only.