CoAP::Header
Constants
ENDIAN = ["big"]
KLASS_NAME = [CoAP::Header]
PARTS = [{type: "bitfield", name: 1, cls: CoAP::Header,
onlyif: nil, verify: nil}] of Nil
REMAINING = [] of Nil
Class methods
bit_fields
SourceInstance methods
__format__
Sourcetoken_length
token_length=(token_length : UInt8)
type=(type : UInt8)
https://tools.ietf.org/html/rfc7252#section-4.3
version
Should always be 1
version=(version : UInt8)
Should always be 1
Macros
co_ap_header(name, onlyif = nil, verify = nil, value = nil)
Sourceco_ap_option(name, onlyif = nil, verify = nil, value = nil)
Source