struct SimpleRpc::Context
- SimpleRpc::Context
- Struct
- Value
- Object
Defined in:
simple_rpc/context.crConstructors
Instance Method Summary
- #clone
- #copy_with(msgid _msgid = @msgid, method _method = @method, node _node = @node, io _io = @io, notify _notify = @notify, logger _logger = @logger, created_at _created_at = @created_at)
- #created_at : Time
- #io : IO
- #logger : Log | Nil
- #method : String
- #msgid : UInt32
- #node : MessagePack::Node
- #notify : Bool
- #write_default_response
- #write_error(msg)
- #write_result(res)
Constructor Detail
def self.new(msgid : UInt32, method : String, node : MessagePack::Node, io : IO, notify : Bool, logger : Log | Nil = nil, created_at : Time = Time.local)
#
Instance Method Detail
def copy_with(msgid _msgid = @msgid, method _method = @method, node _node = @node, io _io = @io, notify _notify = @notify, logger _logger = @logger, created_at _created_at = @created_at)
#