kcoap
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kcoap
kcoap-coap-message
/
dev.kcoap.coap
/
CoapOption
/
Companion
Companion
object
Companion
(
source
)
Members
Properties
MAX_
LENGTH
Link copied to clipboard
const
val
MAX_LENGTH
:
Int
=
65804
RFC 7252 §3.1 allows values up to 65804 bytes; kcoap accepts the full range.
Functions
empty
Link copied to clipboard
fun
empty
(
number
:
Int
)
:
CoapOption
string
Link copied to clipboard
fun
string
(
number
:
Int
,
value
:
String
)
:
CoapOption
uint
Link copied to clipboard
fun
uint
(
number
:
Int
,
value
:
Long
)
:
CoapOption