Code

sealed class Code

Per "RFC 7252 3. Message Format", Code is an:

8-bit unsigned integer, split into a 3-bit class (most significant bits) and a 5-bit detail (least significant bits), documented as "c.dd" where "c" is a digit from 0 to 7 for the 3-bit subfield and "dd" are two digits from 00 to 31 for the 5-bit subfield.

Inheritors

Types

Link copied to clipboard
sealed class Method : Message.Code

RFC 7252: 12.1.1. Method Codes

Link copied to clipboard
data class Raw(val class: Int, val detail: Int) : Message.Code
Link copied to clipboard
sealed class Response : Message.Code

RFC 7252: 12.1.2. Response Codes

Properties

Link copied to clipboard
abstract val class: Int
Link copied to clipboard
abstract val detail: Int