open fun body(data: Data): OutgoingMessageBuilder<T>
Overrides OutgoingMessageBuilder.body
Body of the coap message
data
- ByteArray containing coap message body
open fun body(stream: InputStream): OutgoingMessageBuilder<T>
Overrides OutgoingMessageBuilder.body
Body of the coap message