class SimpleRpc::Context
- SimpleRpc::Context
- Reference
- Object
Defined in:
simple_rpc/context.crConstructors
Instance Method Summary
- #args_count : UInt32
- #io : IO
- #io_with_args : IO::Memory
- #method : String
- #method=(method : String)
- #msgid : UInt32
- #notify : Bool
- #read_args_count
- #unpacker : MessagePack::IOUnpacker
- #write_default_response
- #write_error(msg)
- #write_result(res)
Constructor Detail
def self.new(msgid : UInt32, method : String, io_with_args : IO::Memory, io : IO, notify : Bool, logger : Nil | Log = nil, created_at : Time = Time.local)
#