kcoap
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kcoap
kcoap-coap-message
/
dev.kcoap.coap
/
CoapRequest
/
Builder
/
payload
payload
fun
payload
(
text
:
String
)
:
CoapRequest.Builder
(
source
)
Sets a UTF-8 text body.
var
payload
:
ByteArray
(
source
)
The body; Block1 splits it when it does not fit one message.