Many people I talk too are well aware of what middleware is. However, Interceptors seems to be less understood. Let’s dissect interceptors
Photo by Thom on Unsplash
Many people I talk to are well aware of what middleware is. However, Interceptors seems to be less understood. Let’s dissect interceptors and learn how to use and write them and why we should do it.
gRPC is a great technology and I’ve been replacing many of my APIs with it. I’ve found that writing gRPC is easier than the regular HTTP based APIs. I suggest you invest time in learning it.
This is part 2 of a series, however, you don’t need prior knowledge and can continue without part 1 and 1.1, but I suggest reading them.
In a regular HTTP server, we would have a middleware wrapping our handler on the server. This middleware can be used to perform anything the server wants to do before actually serving the correct content, it can be Authentication or logging or anything.
gRPC is different, It allows Interceptors to be used in both the server and client. This is pretty nice since it allows users or consumers of APIs to add any wanted interceptor, such as custom logging.
Before we dig deep in interceptors I believe there is something in gRPC itself we need to understand. It’s the core concept of gRPC services
Golang Web Development is the new trend globally. Get all the details about the Golang development here. Hire Golang Developers.
With transformational changes seen in the business and technology front, Entrepreneurs’ view towards technologies is changing. Here are [the top technologies that young entrepreneurs can embed to increase their business...
Hire dedicated GoLang developers from WebClues Infotech to build applications using Go language. Get best GoLang developers for your web development projects.
Asynchronous - Async programming - Untangled . In the recent times there has been an increased emphasis on building high performance application which can perform better at scale to…
Get updated with the newest top 10 trending technologies in 2021 which professional must learn to boost there career.