1 type derived from PolicyHttpMessageHandler
Microsoft.Extensions.Http.Polly.Tests (1)
PolicyHttpMessageHandlerTest.cs (1)
412private class TestPolicyHttpMessageHandler : PolicyHttpMessageHandler
10 instantiations of PolicyHttpMessageHandler
Microsoft.Extensions.Http.Polly (7)
DependencyInjection\PollyHttpClientBuilderExtensions.cs (7)
43builder.AddHttpMessageHandler(() => new PolicyHttpMessageHandler(policy)); 75builder.AddHttpMessageHandler(() => new PolicyHttpMessageHandler(policySelector)); 109return new PolicyHttpMessageHandler((request) => policySelector(services, request)); 146return new PolicyHttpMessageHandler(policy); 182return new PolicyHttpMessageHandler((request) => policySelector(registry, request)); 234builder.AddHttpMessageHandler(() => new PolicyHttpMessageHandler(policy)); 274return new PolicyHttpMessageHandler((request) =>
Microsoft.Extensions.Http.Polly.Tests (3)
PolicyHttpMessageHandlerTest.cs (3)
118var handler = new PolicyHttpMessageHandler(policy); 168var handler1 = new PolicyHttpMessageHandler(policy1); 169var handler2 = new PolicyHttpMessageHandler(policy2);
35 references to PolicyHttpMessageHandler
Microsoft.Extensions.Http.Polly (23)
DependencyInjection\PollyHttpClientBuilderExtensions.cs (15)
14/// Extensions methods for configuring <see cref="PolicyHttpMessageHandler"/> message handlers as part of 20/// Adds a <see cref="PolicyHttpMessageHandler"/> which will surround request execution with the provided 28/// See the remarks on <see cref="PolicyHttpMessageHandler"/> for guidance on configuring policies. 48/// Adds a <see cref="PolicyHttpMessageHandler"/> which will surround request execution with a policy returned 58/// See the remarks on <see cref="PolicyHttpMessageHandler"/> for guidance on configuring policies. 80/// Adds a <see cref="PolicyHttpMessageHandler"/> which will surround request execution with a policy returned 90/// See the remarks on <see cref="PolicyHttpMessageHandler"/> for guidance on configuring policies. 115/// Adds a <see cref="PolicyHttpMessageHandler"/> which will surround request execution with a policy returned 125/// See the remarks on <see cref="PolicyHttpMessageHandler"/> for guidance on configuring policies. 152/// Adds a <see cref="PolicyHttpMessageHandler"/> which will surround request execution with a policy returned 162/// See the remarks on <see cref="PolicyHttpMessageHandler"/> for guidance on configuring policies. 188/// Adds a <see cref="PolicyHttpMessageHandler"/> which will surround request execution with a <see cref="Policy"/> 197/// See the remarks on <see cref="PolicyHttpMessageHandler"/> for guidance on configuring policies. 239/// Adds a <see cref="PolicyHttpMessageHandler"/> which will surround request execution with a policy returned 251/// See the remarks on <see cref="PolicyHttpMessageHandler"/> for guidance on configuring policies.
HttpRequestMessageExtensions.cs (2)
25/// The <see cref="PolicyHttpMessageHandler"/> will attach a context to the <see cref="HttpResponseMessage"/> prior 46/// The <see cref="PolicyHttpMessageHandler"/> will attach a context to the <see cref="HttpResponseMessage"/> prior
PolicyHttpMessageHandler.cs (6)
27/// way to create a <see cref="PolicyHttpMessageHandler"/>. 31/// method supports the creation of a <see cref="PolicyHttpMessageHandler"/> for any kind of policy. This includes 35/// <see cref="PolicyHttpMessageHandler"/> and the <see cref="PollyHttpClientBuilderExtensions"/> convenience methods 69/// The <see cref="PolicyHttpMessageHandler"/> will attach a context to the <see cref="HttpRequestMessage"/> prior 81/// Creates a new <see cref="PolicyHttpMessageHandler"/>. 95/// Creates a new <see cref="PolicyHttpMessageHandler"/>.
Microsoft.Extensions.Http.Polly.Tests (12)
DependencyInjection\PollyHttpClientBuilderExtensionsTest.cs (9)
63h => Assert.IsType<PolicyHttpMessageHandler>(h), 98h => Assert.IsType<PolicyHttpMessageHandler>(h), 136h => Assert.IsType<PolicyHttpMessageHandler>(h), 177h => Assert.IsType<PolicyHttpMessageHandler>(h), 221h => Assert.IsType<PolicyHttpMessageHandler>(h), 274h => Assert.IsType<PolicyHttpMessageHandler>(h), 319h => Assert.IsType<PolicyHttpMessageHandler>(h), 362h => Assert.IsType<PolicyHttpMessageHandler>(h), 433h => Assert.IsType<PolicyHttpMessageHandler>(h),
PolicyHttpMessageHandlerTest.cs (3)
118var handler = new PolicyHttpMessageHandler(policy); 168var handler1 = new PolicyHttpMessageHandler(policy1); 169var handler2 = new PolicyHttpMessageHandler(policy2);