Amazon.DNXCore.IntegrationTests.S3.WebProxyTest.CreateClientUsingProxyHostandPort C# (CSharp) 메소드

CreateClientUsingProxyHostandPort() 공개 메소드

public CreateClientUsingProxyHostandPort ( ) : void
리턴 void
        public void CreateClientUsingProxyHostandPort()
        {
            client = new AmazonS3Client(new AmazonS3Config
            {
                ProxyHost = "127.0.0.1",
                ProxyPort = 8888,
                ProxyCredentials = new NetworkCredential("1", "1"),
                RegionEndpoint = RegionEndpoint.USEast1
            });
            ListBuckets();
        }