Exemple #1
0
        static async Task Main()
        {
            var client = new KameleoLocalApiClient(new Uri($"http://localhost:{KameleoPort}"));

            client.SetRetryPolicy(null);

            var result = await client.TestProxyAsync(new TestProxyRequest("http", new Server("<host>", 1080, "<userId>", "<userSecret>")));

            Console.WriteLine("Test proxy result: isValid=" + result.IsValidProxy + ", message=" + result.Message);
        }