Hulaaki v0.0.4 Hulaaki.Message.Publish

Struct for Hulaaki Publish

Fields

  • packet_id : An integer of value upto 65536 (2 bytes) representing packet identifier
  • topic : A string(binary) representing the topic.
  • message : A string(binary) representing the message.
  • dup : An integer of value either 0,1 representing the dup bit.
  • qos : An integer of value either 0,1,2 representing the qos bit.
  • retain : An integer of value either 0,1 representing the retain bit.

Summary

Types

t :: %Hulaaki.Message.Publish{dup: 0 | 1, id: non_neg_integer, message: String.t, qos: 0 | 1 | 2, retain: 0 | 1, topic: String.t, type: atom}