Exemple #1
0
 public virtual async Task <object> InterceptSendRequestAsync <T>(
     Func <RpcRequest, string, Task <T> > interceptedSendRequestAsync, RpcRequest request,
     string route = null)
 {
     return(await interceptedSendRequestAsync(request, route).ConfigureAwait(false));
 }
Exemple #2
0
 public virtual async Task InterceptSendRequestAsync(
     Func <RpcRequest, string, Task> interceptedSendRequestAsync, RpcRequest request,
     string route = null)
 {
     await interceptedSendRequestAsync(request, route).ConfigureAwait(false);
 }