EasyAF_Http_IHttpClientBuilderExtensions
Provides extension methods for IHttpClientBuilder to configure message handlers based on HttpHandlerMode. Enables flexible configuration of HTTP message handler pipelines for different scenarios.Syntax
Inheritance
Methods
AddHttpMessageHandler<THandler>
THandler to the beginning or end of the pipeline.
Parameters
- builder IHttpClientBuilder: The
instance to extend. - mode HttpHandlerMode: A
specifying whether we are making this handler the first one in the pipeline, or the last.