Пример #1
0
		public PocoClient(PocoConfiguration configuration)
		{
			_pocoConfiguration = configuration;
			if (configuration.Handler == null)
				_httpClient = new HttpClient();
			else
				_httpClient = new HttpClient(configuration.Handler, configuration.DisposeHandler);
	
		}
Пример #2
0
 public PocoClient(PocoConfiguration configuration)
 {
     _pocoConfiguration = configuration;
     if (configuration.Handler == null)
     {
         _httpClient = new HttpClient();
     }
     else
     {
         _httpClient = new HttpClient(configuration.Handler, configuration.DisposeHandler);
     }
 }