Provides extension methods for registering EasyAF HTTP clients in the dependency injection container.
Automatically configures HttpClient instances based on configuration attributes.
public static IServiceCollection AddHttpClients<TConfig, TMessageHandler>(this IServiceCollection services, TConfig config, HttpHandlerMode httpHandlerMode) where TConfig : ConfigurationBase where TMessageHandler : DelegatingHandler
Adds HTTP clients to the service collection based on configuration properties marked with .
Allows explicit specification of the HttpHandlerMode for message handler configuration.