Prerequisites
In this chapter, I will be using Wireshark (https://www.wireshark.org/) to analyze a gRPC call and get the necessary captures that illustrate the different concepts presented. As this is still early in this book, I do not expect you to reproduce all of this. However, if you plan to do a little bit more digging, you can install Wireshark and open the capture files provided in the Git repository (https://github.com/PacktPublishing/gRPC-Go-for-Professionals) under the chapter1
directory.
To display these capture files, you can simply import them into Wireshark and apply a display filter to them. As we are interested specifically in HTTP/2 and gRPC payloads, and I was using port 50051
for communication, you can use the following filter: tcp.port == 50051 and (grpc
or http2)
.