enum class Method
Supported Coap methods. These are analogous to HTTP methods of the same names.
Retrieve a resource. MUST not set an OutgoingBody that is not an instance of EmptyOutgoingBody |
|
A non-idempotent request to process the data in the request body. |
|
An idempotent request to process the data in the request body. |
|
Delete a resource. MUST not set an OutgoingBody that is not an instance of EmptyOutgoingBody |
val value: Byte
the byte value corresponding to this method from the CoAP Specification (RFC 7252) |
fun fromValue(value: Byte): Method
Create Method from given value |