class SimpleRpc::ServerProxy
- SimpleRpc::ServerProxy
- SimpleRpc::Server
- Reference
- Object
Defined in:
simple_rpc/server_proxy.crInstance Method Summary
- #check_dead_ports_in : Time::Span
- #check_dead_ports_in=(check_dead_ports_in : Time::Span)
- #method_find(method : String) : SimpleRpc::Context -> | Nil
- #print_stats_in : Time::Span
- #print_stats_in=(print_stats_in : Time::Span)
-
#set_ports(ports : Array(Int32))
Set proxing ports this method can be called at any time, not exactly at beginning of the run
Instance methods inherited from class SimpleRpc::Server
_handle(client)
_handle,
close
close,
method_find(method : String) : SimpleRpc::Context -> | Nil
method_find,
run
run
Constructor methods inherited from class SimpleRpc::Server
new(host : String = "127.0.0.1", port : Int32 = 9999, unixsocket : String | Nil = nil, ssl_context : OpenSSL::SSL::Context::Server | Nil = nil, logger : Log | Nil = nil, close_connection_after_request : Bool = false)
new
Instance Method Detail
def set_ports(ports : Array(Int32))
#
Set proxing ports this method can be called at any time, not exactly at beginning of the run