Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
SimpleRpc::Context
Inherits
Reference
<
Object
Constructors
new
(msgid :
UInt32
, method :
String
, io_with_args :
IO::Memory
, io :
IO
, notify :
Bool
, logger :
Nil
|
Log
= nil, created_at :
Time
=
Time
.local)
Source
Instance methods
args_count
Source
io
Source
io_with_args
Source
method
Source
method=
(method :
String
)
Source
msgid
Source
notify
Source
read_args_count
Source
unpacker
Source
write_default_response
Source
write_error
(msg)
Source
write_result
(res)
Source
Nested types
SimpleRpc::Context::IOMsgpack
SimpleRpc::Context::RawMsgpack
SimpleRpc::Context::RawSocketResponse