Amazon.DNXCore.IntegrationTests.S3.WebProxyTest.CreateClientUsingProxy C# (CSharp) Method

CreateClientUsingProxy() public method

public CreateClientUsingProxy ( ) : void
return void
        public void CreateClientUsingProxy()
        {
            var config = new AmazonS3Config
            {
                ProxyCredentials = new NetworkCredential("1", "1"),
                RegionEndpoint = RegionEndpoint.USEast1
            };
            config.SetWebProxy(new WebProxy("http://localhost:8888/"));
            client = new AmazonS3Client(config);
            ListBuckets();
        }