Explorar el Código

chore(types): add comment for ver type

JianBo He hace 4 años
padre
commit
f36abc281a
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/emqx_types.erl

+ 3 - 1
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 |