aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-05-13 10:30:26 +0200
committerLoïc Hoguin <[email protected]>2019-05-13 10:31:53 +0200
commit6d8b249e54c849948f6d4cdb021cb44340ec289f (patch)
treec48cad0dd115d08b0acd23ce4227e3969100d073 /doc
parent76eb7fa5f5c62e5c756838bf5c2c7a0df7c6d7bd (diff)
downloadranch-6d8b249e54c849948f6d4cdb021cb44340ec289f.tar.gz
ranch-6d8b249e54c849948f6d4cdb021cb44340ec289f.tar.bz2
ranch-6d8b249e54c849948f6d4cdb021cb44340ec289f.zip
Add the passive messages to ranch_transport:messages/0
Diffstat (limited to 'doc')
-rw-r--r--doc/src/manual/ranch_transport.asciidoc9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/src/manual/ranch_transport.asciidoc b/doc/src/manual/ranch_transport.asciidoc
index 50c0b0a..b7ec6d2 100644
--- a/doc/src/manual/ranch_transport.asciidoc
+++ b/doc/src/manual/ranch_transport.asciidoc
@@ -115,9 +115,10 @@ means a random available port number will be chosen.
[source,erlang]
----
messages()
- -> {OK :: atom(),
- Closed :: atom(),
- Error :: atom()}
+ -> {OK :: atom(),
+ Closed :: atom(),
+ Error :: atom(),
+ Passive :: atom()}
----
Return the tuple keys for the messages sent by the socket.
@@ -284,6 +285,8 @@ The exact type will vary depending on the transport module.
== Changelog
+* *2.0*: The callback `messages/0` return value was updated to
+ include the passive message for `{active, N}`.
* *1.6*: The `socket()` type was added for documentation purposes.
* *1.6*: The type of the sendfile filename was extended.