Reason
Why an observer was removed. New reasons may be added before 1.0; use an else branch.
Entries
The client deregistered with a GET or FETCH carrying Observe 1 (RFC 7641 §3.6).
A Confirmable notification was not acknowledged after MAX_RETRANSMIT retransmissions (RFC 7641 §4.5).
The resource was removed, and its observers got a final 4.04 Not Found (RFC 7641 §3.2).
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).
The DTLS session or the connection that carried the observation ended (RFC 7252 §9.1.1, RFC 8323 §7.4).
Properties
Functions
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.)
Returns an array containing the constants of this enum type, in the order they're declared.