class CoAP::Header
- CoAP::Header
- BinData
- Reference
- Object
Direct Known Subclasses
Defined in:
coap/message.crConstant Summary
-
ENDIAN =
["big"]
-
KLASS_NAME =
[CoAP::Header]
-
PARTS =
[{type: "bitfield", name: 1, cls: CoAP::Header, onlyif: nil, verify: nil}] of Nil
-
REMAINING =
[] of Nil
Class Method Summary
Instance Method Summary
- #__format__ : IO::ByteFormat
- #token_length : UInt8
- #token_length=(token_length : UInt8)
-
#type : Type
https://tools.ietf.org/html/rfc7252#section-4.3
-
#type=(type : UInt8)
https://tools.ietf.org/html/rfc7252#section-4.3
-
#type=(value : Type)
https://tools.ietf.org/html/rfc7252#section-4.3
-
#version : UInt8
Should always be 1
-
#version=(version : UInt8)
Should always be 1
Macro Summary
- co_ap_header(name, onlyif = nil, verify = nil, value = nil)
- co_ap_option(name, onlyif = nil, verify = nil, value = nil)