struct

MQTT::Client::ReceivedMessage

Inherits Struct / Value / Object

Constructors

new(connection : Connection, packet_id : UInt16, topic : String, body : Bytes, qos : UInt8, retain : Bool, dup : Bool)
Source

Instance methods

body
Source
dup

Returns a shallow copy of this object.

Because Value is a value type, this method returns self, which already involves a shallow copy of this object because value types are passed by value.

Source
retain
Source
topic
Source