16 references to HttpMessageHandlerBuilderActions
Microsoft.Extensions.Http (14)
DefaultHttpClientFactory.cs (2)
172for (int i = 0; i < options.HttpMessageHandlerBuilderActions.Count; i++) 174options.HttpMessageHandlerBuilderActions[i](b);
DependencyInjection\HttpClientBuilderExtensions.cs (10)
81options.HttpMessageHandlerBuilderActions.Add(b => b.AdditionalHandlers.Add(configureHandler())); 110options.HttpMessageHandlerBuilderActions.Add(b => b.AdditionalHandlers.Add(configureHandler(b.Services))); 137options.HttpMessageHandlerBuilderActions.Add(b => b.AdditionalHandlers.Add(b.Services.GetRequiredService<THandler>())); 161options.HttpMessageHandlerBuilderActions.Add(b => b.PrimaryHandler = configureHandler()); 191options.HttpMessageHandlerBuilderActions.Add(b => b.PrimaryHandler = configureHandler(b.Services)); 219options.HttpMessageHandlerBuilderActions.Add(b => b.PrimaryHandler = b.Services.GetRequiredService<THandler>()); 245options.HttpMessageHandlerBuilderActions.Add(b => configureHandler(b.PrimaryHandler, b.Services)); 264builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => options.HttpMessageHandlerBuilderActions.Add(configureBuilder)); 292options.HttpMessageHandlerBuilderActions.Add(b => 643options.HttpMessageHandlerBuilderActions.Add(b => configureAdditionalHandlers(b.AdditionalHandlers, b.Services));
DependencyInjection\SocketsHttpHandlerBuilderExtensions.cs (1)
32options.HttpMessageHandlerBuilderActions.Add(b =>
HttpClientFactoryOptions.cs (1)
96/// When operations that are part of <see cref="HttpMessageHandlerBuilderActions"/> are executed
Microsoft.Extensions.Http.Diagnostics (1)
Latency\HttpClientLatencyTelemetryExtensions.cs (1)
42.HttpMessageHandlerBuilderActions.Add(httpMessageHandlerBuilder =>
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\Internal\HelperExtensions.cs (1)
19options.HttpMessageHandlerBuilderActions.Add(builder =>