public HttpClientCache(IHttpClientFactory httpClientFactory, X509CertificateManager x509CertificateManager) { _httpClientFactory = httpClientFactory; _x509CertificateManager = x509CertificateManager; _cacheOptions = new MemoryCacheOptions { SizeLimit = 500, }; _clients = new MemoryCache(_cacheOptions); }
public HttpClientFactory(X509CertificateManager x509CertificateManager) { _x509CertificateManager = x509CertificateManager; }