Class SlimHttpClientFactoryOptions
- Namespace
- Cuemon.Extensions.Net.Http
- Assembly
- Cuemon.Extensions.Net.dll
Configuration options for SlimHttpClientFactory.
public class SlimHttpClientFactoryOptions : IParameterObject
- Inheritance
-
SlimHttpClientFactoryOptions
- Implements
- Extension Methods
Constructors
SlimHttpClientFactoryOptions()
Initializes a new instance of the SlimHttpClientFactoryOptions class.
public SlimHttpClientFactoryOptions()
Remarks
The following table shows the initial property values for an instance of SlimHttpClientFactoryOptions.
Property | Initial Value |
---|---|
HandlerLifetime | TimeSpan.FromMinutes(5); |
Properties
HandlerLifetime
Gets or sets the lifetime of the HttpMessageHandler.
public TimeSpan HandlerLifetime { get; set; }
Property Value
- TimeSpan
The lifetime of the HttpMessageHandler.