Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
simple_rpc
v0.1.0
SimpleRpc
Error
Proto
RawClient
Result
Server
IOMsgpack
RawMsgpack
Built with Crystal 1.9.2
2023-10-08 11:49: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_http
(path, raw, response)
#pack
(response, err, msg, res =
nil
)
#run
Constructor Detail
def self.
new
(host : String, port : Int32)
#
[
View source
]
Instance Method Detail
def
close
#
[
View source
]
def
handle_http
(path, raw, response)
#
[
View source
]
def
pack
(response, err, msg, res =
nil
)
#
[
View source
]
def
run
#
[
View source
]