struct MQTT::Protocol::Will

Defined in:

mqtt/protocol/packets/connect.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(topic : String, payload : Bytes, qos : UInt8, retain : Bool) #

[View source]

Class Method Detail

def self.from_io(io : MQTT::Protocol::IO, qos : UInt8, retain : Bool) #

[View source]

Instance Method Detail

def bytesize #

[View source]
def payload : Slice(UInt8) #

[View source]
def qos : UInt8 #

[View source]
def retain? : Bool #

[View source]
def to_io(io) #

[View source]
def topic : String #

[View source]