summaryrefslogtreecommitdiff
path: root/src/rabbit_types.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_types.erl')
-rw-r--r--src/rabbit_types.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rabbit_types.erl b/src/rabbit_types.erl
index 1f182593..a9313503 100644
--- a/src/rabbit_types.erl
+++ b/src/rabbit_types.erl
@@ -39,8 +39,8 @@
delivery/0, content/0, decoded_content/0, undecoded_content/0,
unencoded_content/0, encoded_content/0, vhost/0, ctag/0,
amqp_error/0, r/1, r2/2, r3/3, ssl_socket/0, listener/0,
- binding/0, amqqueue/0, exchange/0, connection/0, user/0,
- error/1, ok_or_error/1, ok_or_error2/2, ok/1,
+ binding/0, amqqueue/0, exchange/0, connection/0, protocol/0,
+ user/0, error/1, ok_or_error/1, ok_or_error2/2, ok/1,
channel_exit/0, connection_exit/0]).
-type(channel_exit() :: no_return()).
@@ -137,6 +137,8 @@
-type(connection() :: pid()).
+-type(protocol() :: 'rabbit_framing_amqp_0_8' | 'rabbit_framing_amqp_0_9_1').
+
-type(user() ::
#user{username :: rabbit_access_control:username(),
password :: rabbit_access_control:password()}).