public async void RpcGetTest() { string result = await RpcHelper.GetAsync("https://www.baidu.com"); Console.WriteLine(result); }
public void RpcGet() { string result = RpcHelper.GetAsync("https://www.baidu.com").Result; Assert.IsNotNull(result); }