diff options
author | Loïc Hoguin <[email protected]> | 2019-05-13 10:30:26 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-05-13 10:31:53 +0200 |
commit | 6d8b249e54c849948f6d4cdb021cb44340ec289f (patch) | |
tree | c48cad0dd115d08b0acd23ce4227e3969100d073 /src/ranch_transport.erl | |
parent | 76eb7fa5f5c62e5c756838bf5c2c7a0df7c6d7bd (diff) | |
download | ranch-6d8b249e54c849948f6d4cdb021cb44340ec289f.tar.gz ranch-6d8b249e54c849948f6d4cdb021cb44340ec289f.tar.bz2 ranch-6d8b249e54c849948f6d4cdb021cb44340ec289f.zip |
Add the passive messages to ranch_transport:messages/0
Diffstat (limited to 'src/ranch_transport.erl')
-rw-r--r-- | src/ranch_transport.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ranch_transport.erl b/src/ranch_transport.erl index 486c6d6..c968868 100644 --- a/src/ranch_transport.erl +++ b/src/ranch_transport.erl @@ -26,7 +26,7 @@ -callback name() -> atom(). -callback secure() -> boolean(). --callback messages() -> {OK::atom(), Closed::atom(), Error::atom()}. +-callback messages() -> {OK::atom(), Closed::atom(), Error::atom(), Passive::atom()}. -callback listen(opts()) -> {ok, socket()} | {error, atom()}. -callback accept(socket(), timeout()) -> {ok, socket()} | {error, closed | timeout | atom()}. |