struct MUX::RequestHeader

Included Modules

Defined in:

pb-MUX/CATS_Helper.pb.cr

Constant Summary

FIELDS = {1 => {name: :message_type, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :conn_id, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :request_id, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :continue_req, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(message_type : Int32, conn_id : Int32, request_id : Int32 | Nil = nil, continue_req : Bool | Nil = nil) #

def self.new(buf : Protobuf::Buffer) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def conn_id : Int32 #

def conn_id=(conn_id : Int32) #

def continue_req : Bool | Nil #

def continue_req=(continue_req : Bool | Nil) #

def message_type : Int32 #

def message_type=(message_type : Int32) #

def request_id : Int32 | Nil #

def request_id=(request_id : Int32 | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #