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
commit98831545b0205444b69de77bb617434714b3212e (patch)
tree3f8eb5fd56c9fffb98a3b03e5ac3b7aff52856b7
parentdf0e930c949a6bfdb1fc8d7d699970502c2ab304 (diff)
downloadrabbitmq-server-git-98831545b0205444b69de77bb617434714b3212e.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 02334f27b1..a9313503a1 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(),