Tcp

data class Tcp : Header

Properties

Link copied to clipboard
open override val code: Message.Code
Link copied to clipboard

Length (in bytes) of message content (Options + Payload).

Link copied to clipboard
open override val size: Int

Size (in bytes) of the encoded CoAP header.

Link copied to clipboard
open override val token: Long

Per RFC 7252 2.2. Request/Response Model:

Functions

Link copied to clipboard
open override fun toString(): String