2 types derived from HttpMessageHandlerBuilder
Microsoft.Extensions.Http (1)
DefaultHttpMessageHandlerBuilder.cs (1)
14
internal sealed class DefaultHttpMessageHandlerBuilder :
HttpMessageHandlerBuilder
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\Internal\TestHttpMessageHandlerBuilder.cs (1)
12
internal class TestHttpMessageHandlerBuilder :
HttpMessageHandlerBuilder
30 references to HttpMessageHandlerBuilder
Microsoft.Extensions.Http (28)
DefaultHttpClientFactory.cs (5)
145
HttpMessageHandlerBuilder
builder = services.GetRequiredService<
HttpMessageHandlerBuilder
>();
150
Action<
HttpMessageHandlerBuilder
> configure = Configure;
170
void Configure(
HttpMessageHandlerBuilder
b)
178
foreach (Action<
HttpMessageHandlerBuilder
> action in options.LoggingBuilderActions)
DependencyInjection\HttpClientBuilderExtensions.cs (4)
252
/// Adds a delegate that will be used to configure message handlers using <see cref="
HttpMessageHandlerBuilder
"/>
256
/// <param name="configureBuilder">A delegate that is used to configure an <see cref="
HttpMessageHandlerBuilder
"/>.</param>
259
public static IHttpClientBuilder ConfigureHttpMessageHandlerBuilder(this IHttpClientBuilder builder, Action<
HttpMessageHandlerBuilder
> configureBuilder)
630
/// Adds a delegate that will be used to configure additional message handlers using <see cref="
HttpMessageHandlerBuilder
"/>
DependencyInjection\HttpClientFactoryServiceCollectionExtensions.cs (1)
39
services.TryAddTransient<
HttpMessageHandlerBuilder
, DefaultHttpMessageHandlerBuilder>();
HttpClientFactoryOptions.cs (6)
26
/// Gets a list of operations used to configure an <see cref="
HttpMessageHandlerBuilder
"/>.
28
public IList<Action<
HttpMessageHandlerBuilder
>> HttpMessageHandlerBuilderActions { get; } = new List<Action<
HttpMessageHandlerBuilder
>>();
98
/// <see cref="
HttpMessageHandlerBuilder
.Services"/>. This includes retrieving a message handler
106
internal List<Action<
HttpMessageHandlerBuilder
>> LoggingBuilderActions { get; } = new List<Action<
HttpMessageHandlerBuilder
>>();
HttpMessageHandlerBuilder.cs (2)
16
/// The <see cref="
HttpMessageHandlerBuilder
"/> is registered in the service collection as
108
nameof(
HttpMessageHandlerBuilder
),
IHttpMessageHandlerBuilderFilter.cs (6)
10
/// <see cref="
HttpMessageHandlerBuilder
"/> immediately before <see cref="
HttpMessageHandlerBuilder
.Build()"/>
16
/// Applies additional initialization to the <see cref="
HttpMessageHandlerBuilder
"/>
19
/// <returns>The configured <see cref="
HttpMessageHandlerBuilder
"/>.</returns>
20
Action<
HttpMessageHandlerBuilder
> Configure(Action<
HttpMessageHandlerBuilder
> next);
Logging\LoggingHttpMessageHandlerBuilderFilter.cs (2)
32
public Action<
HttpMessageHandlerBuilder
> Configure(Action<
HttpMessageHandlerBuilder
> next)
MetricsFactoryHttpMessageHandlerFilter.cs (2)
22
public Action<
HttpMessageHandlerBuilder
> Configure(Action<
HttpMessageHandlerBuilder
> next)
Microsoft.Extensions.ServiceDiscovery (2)
ServiceDiscoveryHttpClientBuilderExtensions.cs (2)
68
public Action<
HttpMessageHandlerBuilder
> Configure(Action<
HttpMessageHandlerBuilder
> next)