Table of Contents

Class SlimHttpClientFactoryOptions

Namespace
Cuemon.Extensions.Net.Http
Assembly
Cuemon.Extensions.Net.dll

Configuration options for SlimHttpClientFactory.

public class SlimHttpClientFactoryOptions : IParameterObject
Inheritance
Object
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.

PropertyInitial Value
HandlerLifetimeTimeSpan.FromMinutes(5);

Properties

HandlerLifetime

Gets or sets the lifetime of the System.Net.Http.HttpMessageHandler.

public TimeSpan HandlerLifetime { get; set; }

Property Value

TimeSpan

The lifetime of the System.Net.Http.HttpMessageHandler.

See Also