1 write to HandlerLifetime
Microsoft.Extensions.Http (1)
DependencyInjection\HttpClientBuilderExtensions.cs (1)
625
builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => options.
HandlerLifetime
= handlerLifetime);
4 references to HandlerLifetime
Microsoft.Extensions.Http (4)
DefaultHttpClientFactory.cs (1)
168
return new ActiveHandlerTrackingEntry(name, handler, scope, options.
HandlerLifetime
);
DefaultHttpMessageHandlerBuilder.cs (1)
73
TimeSpan lifetime = optionsMonitor.Get(_name).
HandlerLifetime
;
DependencyInjection\HttpClientBuilderExtensions.cs (1)
660
/// means that the client will continue reusing the same <see cref="HttpMessageHandler"/> instance for the duration of <see cref="HttpClientFactoryOptions.
HandlerLifetime
"/>,
HttpClientFactoryOptions.cs (1)
49
/// which can prevent the handler from reacting to DNS changes. The value of <see cref="
HandlerLifetime
"/> should be