From f36abc281ad667ca6cfb05d20d86bdf57d082da4 Mon Sep 17 00:00:00 2001 From: JianBo He Date: Thu, 4 Nov 2021 09:11:02 +0800 Subject: [PATCH] chore(types): add comment for ver type --- src/emqx_types.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/emqx_types.erl b/src/emqx_types.erl index 0c15bd288..3e53eafd1 100644 --- a/src/emqx_types.erl +++ b/src/emqx_types.erl @@ -95,7 +95,9 @@ | ?MQTT_PROTO_V4 | ?MQTT_PROTO_V5 | non_neg_integer() - | binary()). + %% Some non-MQTT versions of protocol may be a binary type + | binary() + ). -type(qos() :: ?QOS_0 | ?QOS_1 | ?QOS_2). -type(qos_name() :: qos0 | at_most_once |