In this chapter, we took a comprehensive look into the inner workings of Koa with a focus on its context, request, and response objects. We learned about the APIs for these objects and the methods and properties that they expose.
We also discussed middleware functions in Koa. We learned how to create and register middleware functions. We also looked into some popular middleware already available in the Koa ecosystem.
In the next chapter, we will learn about errors in Koa and discuss the best methods for error handling.