= new Date;! yield next;! var ms = new Date - start;! this.set('X-Response-Time', ms + 'ms');! });! ! // response! app.use(function *(){! this.body = 'Hello World';! });
= new Date;! yield next;! var ms = new Date - start;! this.set('X-Response-Time', ms + 'ms');! });! ! // response! app.use(function *(){! this.body = 'Hello World';! }); IFBEFSΠϕϯτͷड৴ෆཁɻ ͜ͷ࣌ʹطʹSFTQPOTF͕ฦͬͯΔ