Esempio n. 1
0
 public ManagedHttpDispatcher(IHttpProxySettingsProvider proxySettingsProvider, ICreateManagedWebProxy createManagedWebProxy, IUserAgentBuilder userAgentBuilder, IPlatformInfo platformInfo, Logger logger)
 {
     _proxySettingsProvider = proxySettingsProvider;
     _createManagedWebProxy = createManagedWebProxy;
     _userAgentBuilder      = userAgentBuilder;
     _platformInfo          = platformInfo;
     _logger = logger;
 }
Esempio n. 2
0
        public ManagedHttpDispatcher(IHttpProxySettingsProvider proxySettingsProvider,
                                     ICreateManagedWebProxy createManagedWebProxy,
                                     ICertificateValidationService certificateValidationService,
                                     IUserAgentBuilder userAgentBuilder,
                                     ICacheManager cacheManager)
        {
            _proxySettingsProvider        = proxySettingsProvider;
            _createManagedWebProxy        = createManagedWebProxy;
            _certificateValidationService = certificateValidationService;
            _userAgentBuilder             = userAgentBuilder;

            _httpClientCache = cacheManager.GetCache <System.Net.Http.HttpClient>(typeof(ManagedHttpDispatcher));
        }
Esempio n. 3
0
 public CurlHttpDispatcher(IHttpProxySettingsProvider proxySettingsProvider, Logger logger)
 {
     _proxySettingsProvider = proxySettingsProvider;
     _logger = logger;
 }
Esempio n. 4
0
 public ManagedHttpDispatcher(IHttpProxySettingsProvider proxySettingsProvider, ICreateManagedWebProxy createManagedWebProxy)
 {
     _proxySettingsProvider = proxySettingsProvider;
     _createManagedWebProxy = createManagedWebProxy;
 }
Esempio n. 5
0
 public ManagedHttpDispatcher(IHttpProxySettingsProvider proxySettingsProvider, ICreateManagedWebProxy createManagedWebProxy, IUserAgentBuilder userAgentBuilder)
 {
     _proxySettingsProvider = proxySettingsProvider;
     _createManagedWebProxy = createManagedWebProxy;
     _userAgentBuilder      = userAgentBuilder;
 }
Esempio n. 6
0
 public RestClientFactory(IHttpProxySettingsProvider httpProxySettingsProvider, ICreateManagedWebProxy createManagedWebProxy)
 {
     _httpProxySettingsProvider = httpProxySettingsProvider;
     _createManagedWebProxy     = createManagedWebProxy;
 }
 public CurlHttpDispatcher(IHttpProxySettingsProvider proxySettingsProvider, Logger logger)
 {
     _proxySettingsProvider = proxySettingsProvider;
     _logger = logger;
 }
Esempio n. 8
0
 public ManagedHttpDispatcher(IHttpProxySettingsProvider proxySettingsProvider, ICreateManagedWebProxy createManagedWebProxy)
 {
     _proxySettingsProvider = proxySettingsProvider;
     _createManagedWebProxy = createManagedWebProxy;
 }
Esempio n. 9
0
 public CurlHttpDispatcher(IHttpProxySettingsProvider proxySettingsProvider, IUserAgentBuilder userAgentBuilder, Logger logger)
 {
     _proxySettingsProvider = proxySettingsProvider;
     _userAgentBuilder      = userAgentBuilder;
     _logger = logger;
 }