Definition
Assembly: CloudNimble.EasyAF.Core.dll Namespace: CloudNimble.EasyAF.Core Inheritance: System.EnumSyntax
Summary
Specifies how HttpClient message handlers should be configured when registering HTTP clients. Determines whether handlers are added to existing handlers or replace them entirely.Values
| Name | Value | Description |
|---|---|---|
None | 0 | No custom message handlers are configured for the HttpClient. |
| Uses the default handler configuration provided by the HttpClientFactory. | ||
Add | 1 | Adds custom message handlers to the existing handler pipeline. |
| Custom handlers are appended to any existing handlers already configured. | ||
Replace | 2 | Replaces the entire handler pipeline with custom message handlers. |
| All existing handlers are removed and replaced with the specified custom handlers. |