EchoOption class
The Echo Option provides a lightweight challenge-response mechanism for CoAP that enables a CoAP server to verify the freshness of a request.
Defined in RFC 9175, section 2.2.1.
- Inheritance
-
- Object
- Option<
Uint8Buffer> - OpaqueOption
- EchoOption
- Mixed in types
Constructors
- EchoOption(Uint8Buffer value)
Properties
- byteValue → Uint8Buffer
-
Returns a byte representation of this Option's value.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLocationOption → bool
-
no setterinherited
- isUriOption → bool
-
no setterinherited
- length → int
-
Gets the value's length in bytes of the option.
no setterinherited
- maxLength → int
-
The maximum length of this Option in bytes.
no setterinherited
- minLength → int
-
The minimum length of this Option in bytes.
no setterinherited
- name → String
-
Gets the name of the option that corresponds to its type.
no setterinherited
-
optionFormat
→ OptionFormat<
Uint8Buffer> -
The format of this Option.
finalinherited
- optionNumber → int
-
The assigned number of this Option.
no setterinherited
- repeatable → bool
-
Indicates if this Option is repeatable, i.e. if it can appear more than
once in a CoAP message.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → OptionType
-
Type
finalinherited
- valid → bool
-
no setterinherited
- value → Uint8Buffer
-
The typed value of this Option.
finalinherited
- valueString → String
-
Returns a String representation of this Option's value.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited