public RpcHandler(ISerializer serializer, IRpcMiddleware middleware, ILoginValidator validator) { _codex = new RpcRequestResponseEncoder(serializer); _middleWare = middleware ?? throw new ArgumentNullException(nameof(middleware)); _validator = validator; }
public RpcProxyFilter(Method method, IRequestParamteterResolver <RpcFilterContext> resolver, object instance, string name, ISerializer serializer) : base(method, resolver, instance, name) { _codex = new RpcRequestResponseEncoder(serializer); _serializer = serializer; }
public RpcDispatcher(string name, IRequestProcessorManager <RpcFilterContext> processorManager, ISerializer serializer) : base(name, processorManager) { _codex = new RpcRequestResponseEncoder(serializer); }