16 references to HttpMessageHandlerBuilderActions
Microsoft.Extensions.Http (14)
DefaultHttpClientFactory.cs (2)
172
for (int i = 0; i < options.
HttpMessageHandlerBuilderActions
.Count; i++)
174
options.
HttpMessageHandlerBuilderActions
[i](b);
DependencyInjection\HttpClientBuilderExtensions.cs (10)
81
options.
HttpMessageHandlerBuilderActions
.Add(b => b.AdditionalHandlers.Add(configureHandler()));
110
options.
HttpMessageHandlerBuilderActions
.Add(b => b.AdditionalHandlers.Add(configureHandler(b.Services)));
137
options.
HttpMessageHandlerBuilderActions
.Add(b => b.AdditionalHandlers.Add(b.Services.GetRequiredService<THandler>()));
161
options.
HttpMessageHandlerBuilderActions
.Add(b => b.PrimaryHandler = configureHandler());
191
options.
HttpMessageHandlerBuilderActions
.Add(b => b.PrimaryHandler = configureHandler(b.Services));
219
options.
HttpMessageHandlerBuilderActions
.Add(b => b.PrimaryHandler = b.Services.GetRequiredService<THandler>());
245
options.
HttpMessageHandlerBuilderActions
.Add(b => configureHandler(b.PrimaryHandler, b.Services));
264
builder.Services.Configure<HttpClientFactoryOptions>(builder.Name, options => options.
HttpMessageHandlerBuilderActions
.Add(configureBuilder));
292
options.
HttpMessageHandlerBuilderActions
.Add(b =>
643
options.
HttpMessageHandlerBuilderActions
.Add(b => configureAdditionalHandlers(b.AdditionalHandlers, b.Services));
DependencyInjection\SocketsHttpHandlerBuilderExtensions.cs (1)
32
options.
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)
19
options.
HttpMessageHandlerBuilderActions
.Add(builder =>