struct SimpleRpc::Context

Defined in:

simple_rpc/context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(msgid : UInt32, method : String, args_count : UInt32, unpacker : MessagePack::IOUnpacker, io : IO) #

[View source]

Instance Method Detail

def args_count : UInt32 #

def clone #

[View source]
def copy_with(msgid _msgid = @msgid, method _method = @method, args_count _args_count = @args_count, unpacker _unpacker = @unpacker, io _io = @io) #

[View source]
def io : IO #

def method : String #

def msgid : UInt32 #

def skip_values(n) #

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

def write_error(msg) #

[View source]
def write_result(res) #

[View source]