From 6d8b249e54c849948f6d4cdb021cb44340ec289f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 13 May 2019 10:30:26 +0200 Subject: Add the passive messages to ranch_transport:messages/0 --- src/ranch_transport.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ranch_transport.erl') 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()}. -- cgit v1.2.3