Exemplo n.º 1
0
 public Tests()
 {
     _client = new JobTrackerClient(new HttpClient()
     {
         BaseAddress = new Uri(BaseUrlStr)
     },
                                    retryCount: 3, retryInterval: _ => TimeSpan.FromSeconds(3));
 }
Exemplo n.º 2
0
        public TestsWithBuffer()
        {
            var handler = new HttpClientHandler()
            {
                Proxy    = null,
                UseProxy = false
            };
            var httpClient = new HttpClient(handler)
            {
                BaseAddress =
                    new Uri("http://localhost:45001/", UriKind.Absolute)
            };

            _rawClient = new JobTrackerClient(new HttpClient()
            {
                BaseAddress = new Uri(BaseUrlStr)
            },
                                              retryCount: 3, retryInterval: _ => TimeSpan.FromSeconds(3));
        }
 public JobTrackerClientTest()
 {
     _client = new JobTrackerClient("{YourDomain}");
 }