Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ipc
master
Array
IPC
CBOR
Client
Context
Event
Base
Connection
Disconnection
Error
EventNotSet
Events
ExtraSocket
LookUp
MessageReceived
MessageSent
Switch
Timer
Exception
JSON
Message
CBORMessage
JSONMessage
Server
Switch
SwitchingService
Generated using Crystal 1.14.0
2024-11-26 08:26:38 UTC
class
IPC::
CBOR
IPC::CBOR
Reference
Object
Included Modules
CBOR::Serializable
Defined in:
cbor.cr
Constructors
.new
(decoder : ::CBOR::Decoder)
Class Method Summary
.type
@[::CBOR::Field(ignored: true)] getter type = -1
Macro Summary
message
(id, type, &block)
Instance Method Summary
#id
: ::CBOR::Any | Nil
#id=
(id : ::CBOR::Any | Nil)
#type
Constructor Detail
def self.
new
(decoder : ::CBOR::Decoder)
#
[
View source
]
Class Method Detail
def self.
type
#
@[::CBOR::Field(ignored: true)] getter type = -1
[
View source
]
Macro Detail
macro
message
(id, type, &block)
#
[
View source
]
Instance Method Detail
def
id
: ::CBOR::Any | Nil
#
[
View source
]
def
id=
(id : ::CBOR::Any | Nil)
#
[
View source
]
def
type
#
[
View source
]