ex_mqtt v0.2.0 ExMqtt.Message.Unsubscribe View Source

Struct for bus Unsubscribe

Fields

  • packet_id : An integer of value upto 65536 (2 bytes) representing packet identifier
  • topics : A list of string(binary) representing various topics.

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %ExMqtt.Message.Unsubscribe{
  id: non_neg_integer(),
  topics: [String.t()],
  type: atom()
}