InterviewSolution
| 1. |
What Is Koa.js Response Object? |
|
Answer» A Koa Response object is an abstraction on top of node's vanilla response object, providing additional functionality that is useful for every day HTTP server development. The Koa response object is embeded in the context object, this. Lets log out the response object WHENEVER we GET a REQUEST: var koa = require('koa'); A Koa Response object is an abstraction on top of node's vanilla response object, providing additional functionality that is useful for every day HTTP server development. The Koa response object is embeded in the context object, this. Lets log out the response object whenever we get a request: var koa = require('koa'); |
|