1 implementation of IStandardHedgingHandlerBuilder
Microsoft.Extensions.Http.Resilience (1)
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (1)
152
IRoutingStrategyBuilder RoutingStrategyBuilder) :
IStandardHedgingHandlerBuilder
;
23 references to IStandardHedgingHandlerBuilder
Microsoft.Extensions.Http.Resilience (20)
Hedging\HttpStandardHedgingResilienceOptions.cs (2)
31
/// <see cref="StandardHedgingHandlerBuilderExtensions.SelectPipelineByAuthority(
IStandardHedgingHandlerBuilder
)"/> or
32
/// <see cref="StandardHedgingHandlerBuilderExtensions.SelectPipelineBy(
IStandardHedgingHandlerBuilder
, Func{IServiceProvider, Func{System.Net.Http.HttpRequestMessage, string}})"/> extensions.
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (7)
30
/// A <see cref="
IStandardHedgingHandlerBuilder
"/> instance that can be used to configure the standard hedging behavior.
36
/// <see cref="StandardHedgingHandlerBuilderExtensions.SelectPipelineByAuthority(
IStandardHedgingHandlerBuilder
)"/>
42
public static
IStandardHedgingHandlerBuilder
AddStandardHedgingHandler(this IHttpClientBuilder builder, Action<IRoutingStrategyBuilder> configure)
47
var
hedgingBuilder = builder.AddStandardHedgingHandler();
59
/// A <see cref="
IStandardHedgingHandlerBuilder
"/> instance that can be used to configure the standard hedging behavior.
65
/// <see cref="StandardHedgingHandlerBuilderExtensions.SelectPipelineByAuthority(
IStandardHedgingHandlerBuilder
)"/>
71
public static
IStandardHedgingHandlerBuilder
AddStandardHedgingHandler(this IHttpClientBuilder builder)
Hedging\StandardHedgingHandlerBuilderExtensions.cs (11)
18
/// Extensions for <see cref="
IStandardHedgingHandlerBuilder
"/>.
28
public static
IStandardHedgingHandlerBuilder
Configure(this
IStandardHedgingHandlerBuilder
builder, IConfigurationSection section)
49
public static
IStandardHedgingHandlerBuilder
Configure(this
IStandardHedgingHandlerBuilder
builder, Action<HttpStandardHedgingResilienceOptions> configure)
63
public static
IStandardHedgingHandlerBuilder
Configure(this
IStandardHedgingHandlerBuilder
builder, Action<HttpStandardHedgingResilienceOptions, IServiceProvider> configure)
78
public static
IStandardHedgingHandlerBuilder
SelectPipelineByAuthority(this
IStandardHedgingHandlerBuilder
builder)
96
public static
IStandardHedgingHandlerBuilder
SelectPipelineBy(this
IStandardHedgingHandlerBuilder
builder, Func<IServiceProvider, Func<HttpRequestMessage, string>> selectorFactory)
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
HttpClientFactory.cs (1)
68
var
hedgingBuilder = clientBuilder.AddStandardHedgingHandler().SelectPipelineByAuthority();
Microsoft.Extensions.Http.Resilience.Tests (2)
Hedging\StandardHedgingTests.cs (2)
26
public sealed class StandardHedgingTests : HedgingTests<
IStandardHedgingHandlerBuilder
>
33
private static
IStandardHedgingHandlerBuilder
ConfigureDefaultBuilder(IHttpClientBuilder builder, Func<RequestRoutingStrategy> factory)