From 48ff73298ef9c06266fd031e5eceeb8128df0206 Mon Sep 17 00:00:00 2001 From: Paul Grosu Date: Tue, 6 Dec 2016 18:26:40 -0500 Subject: submit --- chapter/1/gRPC.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/chapter/1/gRPC.md b/chapter/1/gRPC.md index 741f265..62a3795 100644 --- a/chapter/1/gRPC.md +++ b/chapter/1/gRPC.md @@ -69,15 +69,10 @@ message Hello { This message will also be encoded for highest compression when sent over the wire. For example, let us say that the message is the string "Hi". - - - - - - - - -
TypeMeaningUsed For
0Varintint32, int64, uint32, uint64, sint32, sint64, bool, enum
164-bitfixed64, sfixed64, double
2Length-delimitedstring, bytes, embedded messages, packed repeated fields
3Start groupgroups (deprecated)
4End groupgroups (deprecated)
532-bitfixed32, sfixed32, float
+

+
+ Table 1: Tag values for Protocol Buffer types. +

Thus the language had to be updated to support gRPC and the development of a service message with a request and a response definition was added for version version 3.0 of Protocol Buffers. The updated implementation would look as follows {% cite HelloWorldProto %}: -- cgit v1.2.3