sealed class Option
Individual Coap option
val number: OptionNumber
OptionNumber for this option |
|
val value: OptionValue
OptionValue for this option |
data class AcceptOption : Option
Can be used to indicate which Content-Format is acceptable to the client. |
|
data class ContentFormatOption : Option
The Content-Format Option indicates the representation format of the message payload. |
|
data class EtagOption : Option
The request MAY include one or more ETag Options, identifying responses that the client has stored. |
|
data class IfMatchOption : Option
The If-Match Option MAY be used to make a request conditional on the current existence or value of an ETag for one or more representations of the target resource. |
|
object IfNoneMatchOption : Option
The If-None-Match Option MAY be used to make a request conditional on the nonexistence of the target resource. |
|
data class LocationPathOption : Option
The values of these options specify the location at which the resource was created. Otherwise, the resource was created at the request URI. |
|
data class LocationQueryOption : Option
The values of these options specify the location at which the resource was created. Otherwise, the resource was created at the request URI. |
|
data class MaxAgeOption : Option
Caches can use the Max-Age Option to determine freshness and (if present) the ETAG Option for validation |
|
data class StartOffset : Option
Vendor(Fitbit) option for start offset in a file |
|
data class UriQueryOption : Option
Specifies one argument parameterizing the resource. |