Microsoft.Extensions.Http.HttpClientFactoryOptions
Provides options for configuring the default IHttpClientFactory.
namespace Microsoft.Extensions.Http
{
public class HttpClientFactoryOptions
{
public IList<Action<HttpMessageHandlerBuilder>> HttpMessageHandlerBuilderActions { get; }
public IList<Action<HttpClient>> HttpClientActions { get; }
public TimeSpan HandlerLifetime { get; set; }
public Func<string, bool> ShouldRedactHeaderValue { get; set; }
public bool SuppressHandlerScope { get; set; }
public HttpClientFactoryOptions();
}
}