Пример #1
0
 public IResponseRouterReturns SendRequest <T>(string method, T @params) => ResponseRouter.SendRequest(method, @params);
Пример #2
0
 public IResponseRouterReturns SendRequest(string method) => ResponseRouter.SendRequest(method);
Пример #3
0
 public void SendNotification(IRequest @params) => ResponseRouter.SendNotification(@params);
Пример #4
0
 public Task <TResponse> SendRequest <TResponse>(IRequest <TResponse> @params, CancellationToken cancellationToken) => ResponseRouter.SendRequest(@params, cancellationToken);
Пример #5
0
 public void SendNotification <T>(string method, T @params) => ResponseRouter.SendNotification(method, @params);
Пример #6
0
 public void SendNotification(string method) => ResponseRouter.SendNotification(method);
 bool IResponseRouter.TryGetRequest(long id, [NotNullWhen(true)] out string method, [NotNullWhen(true)] out TaskCompletionSource <JToken> pendingTask)
 => ResponseRouter.TryGetRequest(id, out method, out pendingTask);
Пример #8
0
 public IResponseRouterReturns SendRequest(string method)
 {
     return(ResponseRouter.SendRequest(method));
 }
 public ResponseRouterReturnsImpl(ResponseRouter router, string method, object @params)
 {
     _router = router;
     _method = method;
     _params = @params;
 }