从源码入手探索koa2应用的实现

A Koa application is an object containing an array of middleware functions which are composed and executed in a stack-like manner upon request. 只提供封装好http上下文、请求、响应,以及基于async/await的中间件容器 基于koa的app是由一系列中间件组成,原来是generator中间件,现在被async/await...