struct Cannon::Rpc::Protocol::Header
- Cannon::Rpc::Protocol::Header
- Struct
- Value
- Object
Overview
Protocol header, can be fast-serialized
Included Modules
Extended Modules
Defined in:
cannon/rpc/protocol.crConstructors
Class Method Summary
-
.use_fast_cannon?
Magic method to mark this structure as being fast en-/decodable.
Instance Method Summary
- #flags : Flags
- #flags=(flags : Flags)
- #handle : UInt8
- #handle=(handle : UInt8)
- #method : UInt32
- #method=(method : UInt32)
- #service_id : UInt32
- #service_id=(service_id : UInt32)
Instance methods inherited from module Cannon::FastAutoToIo
to_cannon_io(io)
to_cannon_io
Class methods inherited from class Object
to_cannon_io(io, value)
to_cannon_io
Constructor Detail
def self.new(flags : Cannon::Rpc::Protocol::Flags, service_id : UInt32, method : UInt32, handle : UInt8 = 0_u8)
#