enum class OptionNumber
Supported options that can be added to a coap message options
Note: For Internal use only, use Option and OutgoingRequestBuilder for creating coap request
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. |
|
The request MAY include one or more ETag Options, identifying responses that the client has stored. |
|
The If-None-Match Option MAY be used to make a request conditional on the nonexistence of the target resource. |
|
The values of these options specify the location at which the resource was created. Otherwise, the resource was created at the request URI. |
|
Specifies one segment of the absolute path to the resource |
|
The Content-Format Option indicates the representation format of the message payload. |
|
Caches can use the Max-Age Option to determine freshness and (if present) the ETAG Option for validation |
|
Specifies one argument parameterizing the resource. |
|
Can be used to indicate which Content-Format is acceptable to the client. |
|
The values of these options specify the location at which the resource was created. Otherwise, the resource was created at the request URI. |
|
vendor-specific option number |
val value: Short |
fun fromValue(value: Short): OptionNumber
Create OptionNumber from given value |