HttpClientFactoryOptions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides options for configuring the default IHttpClientFactory.
public ref class HttpClientFactoryOptions
public class HttpClientFactoryOptions
type HttpClientFactoryOptions = class
Public Class HttpClientFactoryOptions
- Inheritance
-
HttpClientFactoryOptions
Http |
Initializes a new instance of the HttpClientFactoryOptions class. |
Handler |
Gets or sets the length of time that a HttpMessageHandler instance can be reused. Each named client can have its own configured handler lifetime value. The default value of this property is two minutes. Set the lifetime to InfiniteTimeSpan to disable handler expiry. |
Http |
Gets a list of operations used to configure an HttpClient. |
Http |
Gets a list of operations used to configure an HttpMessageHandlerBuilder. |
Should |
Gets or sets the Func<T,TResult> that determines whether to redact the HTTP header value before logging. |
Suppress |
Gets or sets a value that determines whether the IHttpClientFactory will
create a dependency injection scope when building an HttpMessageHandler.
If This option is provided for compatibility with existing applications. It is recommended to use the default setting for new applications. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: