public async void TestProxyCreation() { var caculator = RpcProxy.Create <ICaculator, ProxyTest>(); Assert.Equal(3, await caculator.Add(1, 2)); Assert.Equal("Hello World", await caculator.Concact("Hello ", "World")); }
protected virtual T CreateClient <T>() { return(RpcProxy.Create <T, ClientDispatchProxy>()); }