You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: adds the ability to pass the http version for netstandard/netfx/netcore instead of using a hardcoded value (default http/2)
fix: get the http version and version policy from the http client for net5+ instead of using a hardcoded value (default http/2)
/// <param name="finalHandler">The final <see cref="HttpMessageHandler"/> in the http pipeline. Can be configured for proxies, auto-decompression and auto-redirects</param>
49
38
/// <returns>The <see cref="HttpClient"/> with the custom handlers.</returns>
/// Initializes the <see cref="HttpClient"/> with the default configuration and authentication middleware using the <see cref="IAuthenticationProvider"/> if provided.
@@ -168,7 +147,7 @@ public static IList<ActivatableType> GetDefaultHandlerActivatableTypes()
168
147
publicreadonlystructActivatableType
169
148
{
170
149
#if NET5_0_OR_GREATER
171
-
/// <summary>
150
+
/// <summary>
172
151
/// Provides DI-safe trim annotations for an underlying type.
173
152
/// </summary>
174
153
/// <param name="type">The type to be wrapped.</param>
@@ -182,7 +161,7 @@ public ActivatableType([DynamicallyAccessedMembers(DynamicallyAccessedMemberType
/// Creates a <see cref="DelegatingHandler"/> to use for the <see cref="HttpClient" /> from the provided <see cref="DelegatingHandler"/> instances. Order matters.
213
191
/// </summary>
@@ -261,5 +239,15 @@ public static HttpMessageHandler GetDefaultHttpMessageHandler(IWebProxy? proxy =
0 commit comments