Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
simple_rpc
v0.6.0
SimpleRpc
CannotConnectError
Client
Mode
CommandTimeoutError
ConnectionError
ConnectionLostError
Context
IOMsgpack
RawMsgpack
Errors
Proto
ProtocallError
Result
RuntimeError
Server
TypeCastError
Built with Crystal 1.9.2
2023-10-07 23:46:57 UTC
class
SimpleRpc::Server
SimpleRpc::Server
Reference
Object
Defined in:
simple_rpc/server.cr
Constructors
.new
(host : String, port : Int32)
Instance Method Summary
#close
#handle
(reader_io, writer_io)
#run
Constructor Detail
def self.
new
(host : String, port : Int32)
#
[
View source
]
Instance Method Detail
def
close
#
[
View source
]
def
handle
(reader_io, writer_io)
#
[
View source
]
def
run
#
[
View source
]