Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK committed Sep 5, 2023
1 parent f489661 commit 6ecb3bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Grpc.Net.Client/Internal/GrpcProtocolConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ internal static string GetMessageAcceptEncoding(Dictionary<string, ICompressionP
#endif
}

public const string MethodKey = "Method";
public const string ChannelKey = "Channel";
public const string RequestKey = "Request";

public static IEnumerator<KeyValuePair<string, object>> GetDebugEnumerator(ChannelBase channel, IMethod method, object? request)
{
const string MethodKey = "Method";
const string ChannelKey = "Channel";
const string RequestKey = "Request";

yield return new KeyValuePair<string, object>(ChannelKey, channel);
yield return new KeyValuePair<string, object>(MethodKey, method);
if (request != null)
Expand Down

0 comments on commit 6ecb3bd

Please sign in to comment.