diff options
Diffstat (limited to 'include/rabbit.hrl')
| -rw-r--r-- | include/rabbit.hrl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 06564290e8..a2eae8f8f9 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -67,6 +67,7 @@ -record(dq_msg_loc, {queue_and_seq_id, is_delivered, msg_id}). +-record(ssl_socket, {tcp, ssl}). -record(delivery, {mandatory, immediate, txn, sender, message}). %%---------------------------------------------------------------------------- @@ -77,7 +78,8 @@ -type(maybe(T) :: T | 'none'). -type(erlang_node() :: atom()). --type(socket() :: port()). +-type(ssl_socket() :: #ssl_socket{}). +-type(socket() :: port() | ssl_socket()). -type(thunk(T) :: fun(() -> T)). -type(info_key() :: atom()). -type(info() :: {info_key(), any()}). |
