RPC operations
Each interaction done with gRPC between the server and the client can be described as four RPC operations. These operations are composed in a way that creates complex high-level operations in the framework. Let us see these operations and then I will explain how a simple gRPC call uses them.
Important note
In this section, I’m going to use Wireshark’s result for an RPC call. I will explain how to replicate what I did in this section later in the book. For now, I will just highlight what is important to notice in the dumps.
Send Header
The Send Header
operation lets the server know that the client will send a request or lets the client know that the server will send a response. This acts as a switch between the server and client to let both sides know who needs to read and who needs to write.
By using Wireshark to analyze a simple gRPC call, we can observe the following header (simplified) being sent by the client in order to let the server...