private async void TestBtn_Click(object sender, RoutedEventArgs e) { var items = ProxyItems; foreach (var item in items) { Debug.WriteLine(item.Host); Debug.WriteLine(await HttpProxy.TestAsync(item)); } }
public async void TestRequest() { var item = new ProxyItem("118.190.244.234:3128"); Assert.IsTrue(await HttpProxy.TestAsync(item)); }