Example #1
0
        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));
            }
        }
Example #2
0
        public async void TestRequest()
        {
            var item = new ProxyItem("118.190.244.234:3128");

            Assert.IsTrue(await HttpProxy.TestAsync(item));
        }