struct MUX::RequestHeader
- MUX::RequestHeader
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-MUX/CATS_Helper.pb.crConstant 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
- .new(message_type : Int32, conn_id : Int32, request_id : Int32 | Nil = nil, continue_req : Bool | Nil = nil)
- .new(buf : Protobuf::Buffer)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #conn_id : Int32
- #conn_id=(conn_id : Int32)
- #continue_req : Bool | Nil
- #continue_req=(continue_req : Bool | Nil)
- #message_type : Int32
- #message_type=(message_type : Int32)
- #request_id : Int32 | Nil
- #request_id=(request_id : Int32 | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(message_type : Int32, conn_id : Int32, request_id : Int32 | Nil = nil, continue_req : Bool | Nil = nil)
#