class

MQTT::V5::Disconnect

Inherits MQTT::V5::Reasoned / MQTT::V5::ReasonCoded / MQTT::Header / BinData / Reference / Object

Constants

AFTER_DESERIALIZE = [] of Nil
ALLOWED_PROPERTIES = [PropertyId::SessionExpiryInterval, PropertyId::ReasonString, PropertyId::UserProperty, PropertyId::ServerReference]
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [MQTT::V5::Disconnect]
PARTS = [] of Nil
REMAINING = [] of Nil

Class methods

bit_fields
Source

Instance methods

__format__

A group or bit_field captures the endianness at its declaration point, so declaring endian after one would silently leave it system-endian. Fail loudly.

Source
server_reference

Where the broker is redirecting us to

Source
server_reference=(value : String | Nil)
Source
session_expiry_interval
Source
session_expiry_interval=(value : UInt32 | Nil)
Source
validate!
Source