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