aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/Metadata.cs
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2016-06-23 10:54:52 -0700
committerGravatar murgatroid99 <mlumish@google.com>2016-06-23 10:54:52 -0700
commit5fec4bf5f34792e30d2691024cbd9914626db0a3 (patch)
treee1e07586bc1745c32139011fde6c7fe4e61812a7 /src/csharp/Grpc.Core/Metadata.cs
parente16907e5a1fb7e61b24d4d141cbad021e96252bf (diff)
parentb309bc94bfd3bdd067e4f0a62d0cd9f29cf3a288 (diff)
Merge branch 'master' into grpc_trace_granularity
Diffstat (limited to 'src/csharp/Grpc.Core/Metadata.cs')
-rw-r--r--src/csharp/Grpc.Core/Metadata.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/csharp/Grpc.Core/Metadata.cs b/src/csharp/Grpc.Core/Metadata.cs
index f73f720094..915bec146c 100644
--- a/src/csharp/Grpc.Core/Metadata.cs
+++ b/src/csharp/Grpc.Core/Metadata.cs
@@ -63,6 +63,13 @@ namespace Grpc.Core
/// </summary>
public static readonly Metadata Empty = new Metadata().Freeze();
+ /// <summary>
+ /// To be used in initial metadata to request specific compression algorithm
+ /// for given call. Direct selection of compression algorithms is an internal
+ /// feature and is not part of public API.
+ /// </summary>
+ internal const string CompressionRequestAlgorithmMetadataKey = "grpc-internal-encoding-request";
+
readonly List<Entry> entries;
bool readOnly;