Reason

Why an observer was removed. New reasons may be added before 1.0; use an else branch.

Entries

Link copied to clipboard

The client deregistered with a GET or FETCH carrying Observe 1 (RFC 7641 §3.6).

Link copied to clipboard

The client answered a notification with a Reset (RFC 7641 §3.6, §4.5).

Link copied to clipboard

A Confirmable notification was not acknowledged after MAX_RETRANSMIT retransmissions (RFC 7641 §4.5).

Link copied to clipboard

The resource was removed, and its observers got a final 4.04 Not Found (RFC 7641 §3.2).

Link copied to clipboard

The registration or a notification was answered with an error code, which ends the observation (RFC 7641 §3.2, §4.2), or with the 4.01 and Echo of an address check (RFC 9175 §2.4).

Link copied to clipboard

The DTLS session or the connection that carried the observation ended (RFC 7252 §9.1.1, RFC 8323 §7.4).

Link copied to clipboard

A notification or the registration's response could not be produced, protected or sent, as when message security or its sequence-number store fails, or a link failed; detail says how.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

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

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.