EXACTLY_ONCE

Exactly once delivery (QoS 2) — assured delivery via 4-step handshake.

The message is guaranteed to arrive exactly once using the full PUBLISH → PUBREC → PUBREL → PUBCOMP handshake. This is the safest but slowest option, requiring four network round-trips per message.

Properties

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard
val value: Int

The numeric QoS level (0, 1, or 2) as encoded on the wire.