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
Copy file name to clipboardExpand all lines: src/Grpc.Net.Client.Web/GrpcWebHandler.cs
+16-6Lines changed: 16 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
#region Copyright notice and license
1
+
#region Copyright notice and license
2
2
3
3
// Copyright 2019 The gRPC Authors
4
4
//
@@ -44,6 +44,11 @@ public sealed class GrpcWebHandler : DelegatingHandler
44
44
/// be overridden.
45
45
/// </para>
46
46
/// </summary>
47
+
#if NET5_0_OR_GREATER
48
+
[Obsolete("HttpVersion is obsolete and will be removed in a future release. Use GrpcChannelOptions.HttpVersion and GrpcChannelOptions.HttpVersionPolicy instead.")]
49
+
#else
50
+
[Obsolete("HttpVersion is obsolete and will be removed in a future release. Use GrpcChannelOptions.HttpVersion instead.")]
0 commit comments