aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/cpp/metadata/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cpp/metadata/README.md')
-rw-r--r--examples/cpp/metadata/README.md5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/cpp/metadata/README.md b/examples/cpp/metadata/README.md
index 7b33074ba1..96ad3d19bd 100644
--- a/examples/cpp/metadata/README.md
+++ b/examples/cpp/metadata/README.md
@@ -57,13 +57,10 @@ If things go smoothly, you will see in the client terminal:
And in the server terminal:
-"Header key: custom-bin , value: "
+"Header key: custom-bin , value: 01234567"
"Header key: custom-header , value: Custom Value"
"Header key: user-agent , value: grpc-c++/1.16.0-dev grpc-c/6.0.0-dev (linux; chttp2; gao)"
-Note that the value for custom-bin doesn't print nicely because it's a binary
-value. You can indicate a binary value through appending "-bin" to the header key.
-
We did not add the user-agent metadata as a custom header. This shows how
the gRPC framework adds some headers under the hood that may show up in the
metadata map.