IRpcServer

An RPC server that can register handler.

More...

Members

Functions

registerInterface
void registerInterface(TImpl instance, RpcInterfaceSettings settings)

Auto-register all method in an interface.

registerRequestHandler
void registerRequestHandler(string method, RpcRequestHandler!(TRequest, TResponse) handler)

Register a delegate to be called on reception of a request matching 'method'.

tick
void tick()
Undocumented in source.

Detailed Description

Template Params

TId = The type used to identify RPC request.

TRequest = Request type, must be an IRPCRequest.

TResponse = Reponse type, must be an IRPCResponse.

Meta