Skip to main content

Definition

Assembly: CloudNimble.EasyAF.Core.dll Namespace: CloudNimble.EasyAF.Core Inheritance: System.Enum

Syntax

CloudNimble.EasyAF.Core.HttpHandlerMode

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

NameValueDescription
None0No custom message handlers are configured for the HttpClient.
Uses the default handler configuration provided by the HttpClientFactory.
Add1Adds custom message handlers to the existing handler pipeline.
Custom handlers are appended to any existing handlers already configured.
Replace2Replaces the entire handler pipeline with custom message handlers.
All existing handlers are removed and replaced with the specified custom handlers.