1 implementation of IHttpResiliencePipelineBuilder
Microsoft.Extensions.Http.Resilience (1)
Resilience\ResilienceHttpClientBuilderExtensions.Resilience.cs (1)
153
private sealed record HttpResiliencePipelineBuilder(string PipelineName, IServiceCollection Services) :
IHttpResiliencePipelineBuilder
;
12 references to IHttpResiliencePipelineBuilder
Microsoft.Extensions.Http.Resilience (9)
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (2)
115
var
outerHandler = builder.AddResilienceHandler(HedgingConstants.HandlerPostfix, (builder, context) =>
129
var
innerBuilder = builder.AddResilienceHandler(
Resilience\HttpResiliencePipelineBuilderExtensions.cs (5)
12
/// Extensions for <see cref="
IHttpResiliencePipelineBuilder
"/>.
21
public static
IHttpResiliencePipelineBuilder
SelectPipelineByAuthority(this
IHttpResiliencePipelineBuilder
builder)
37
public static
IHttpResiliencePipelineBuilder
SelectPipelineBy(this
IHttpResiliencePipelineBuilder
builder, Func<IServiceProvider, Func<HttpRequestMessage, string>> selectorFactory)
Resilience\ResilienceHttpClientBuilderExtensions.Resilience.cs (2)
33
public static
IHttpResiliencePipelineBuilder
AddResilienceHandler(
56
public static
IHttpResiliencePipelineBuilder
AddResilienceHandler(
Microsoft.Extensions.Http.Resilience.Tests (3)
Resilience\HttpClientBuilderExtensionsTests.BySelector.cs (1)
50
var
builder = _builder.AddResilienceHandler("dummy", builder => builder.AddTimeout(TimeSpan.FromSeconds(1))).SelectPipelineByAuthority();
Resilience\HttpClientBuilderExtensionsTests.Resilience.cs (2)
206
var
pipelineBuilder = builder.AddResilienceHandler("dummy", ConfigureBuilder);
278
var
clientBuilder = new ServiceCollection().AddLogging().AddMetrics().AddRedaction()