Rejected

data class Rejected(val reasonCode: ReasonCode, val message: String, val serverReference: String? = null) : ProbeResult

The broker accepted the TCP/TLS connection but refused the CONNECT request via CONNACK.

Typical reason codes:

Constructors

Link copied to clipboard
constructor(reasonCode: ReasonCode, message: String, serverReference: String? = null)

Properties

Link copied to clipboard

Human-readable explanation taken from the underlying error.

Link copied to clipboard

The CONNACK reason code from the broker.

Link copied to clipboard

Optional server reference for redirect handling (§4.13).