module

MQTT::V5::ReasonCoded

Reason codes arrive from a remote host, so an unrecognised value must not be an exception. The raw byte is always kept

Instance methods

error?
Source
reason_code
Source
reason_code=(code : ReasonCode) : ReasonCode
Source
reason_description
Source
success?

Unknown codes are treated by their range, as the specification requires

Source