class SimpleRpc::Context

Defined in:

simple_rpc/context.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def args_count : UInt32 #

[View source]
def io : IO #

[View source]
def io_with_args : IO::Memory #

[View source]
def method : String #

[View source]
def method=(method : String) #

[View source]
def msgid : UInt32 #

[View source]
def notify : Bool #

[View source]
def read_args_count #

[View source]
def unpacker : MessagePack::IOUnpacker #

[View source]
def write_default_response #

[View source]
def write_error(msg) #

[View source]
def write_result(res) #

[View source]