class SimpleRpc::ServerProxy

Defined in:

simple_rpc/server_proxy.cr

Instance Method Summary

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 check_dead_ports_in : Time::Span #

[View source]
def check_dead_ports_in=(check_dead_ports_in : Time::Span) #

[View source]
def method_find(method : String) : SimpleRpc::Context -> | Nil #

[View source]
def print_stats_in : Time::Span #

[View source]
def print_stats_in=(print_stats_in : Time::Span) #

[View source]
def set_ports(ports : Array(Int32)) #

Set proxing ports this method can be called at any time, not exactly at beginning of the run


[View source]