summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-08-03 11:54:06 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-08-03 11:54:06 +0100
commit10bc8267622f8f07e744d2ae3c5281d6c19a2353 (patch)
tree3f8eb5fd56c9fffb98a3b03e5ac3b7aff52856b7
parent8a04ef01cfb7586d053ccf66a110b889fa2a5e57 (diff)
downloadrabbitmq-server-10bc8267622f8f07e744d2ae3c5281d6c19a2353.tar.gz
Provide a better protocol() type
-rw-r--r--src/rabbit_types.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_types.erl b/src/rabbit_types.erl
index 02334f27..a9313503 100644
--- a/src/rabbit_types.erl
+++ b/src/rabbit_types.erl
@@ -137,7 +137,7 @@
-type(connection() :: pid()).
--type(protocol() :: atom()).
+-type(protocol() :: 'rabbit_framing_amqp_0_8' | 'rabbit_framing_amqp_0_9_1').
-type(user() ::
#user{username :: rabbit_access_control:username(),