Node.js:ExpressWeb
API接口 res()
### 属性 #### res.app #### res.headersSent #### res.locals ### 方法 #### res.append(field [, value]) #### res.attachment([filename]) #### res.cookie(name, value [, options]) #### res.clearCookie(name [, options]) #### res.download(path [, filename] [, options] [, fn]) #### res.end([data] [, encoding]) #### res.format(object) #### res.get(field) #### res.json([body]) #### res.jsonp([body]) #### res.links(links) #### res.location(path) #### res.redirect([status,] path) #### res.render(view [, locals] [, callback]) #### res.req #### res.send([body]) #### res.sendFile(path [, options] [, fn]) #### res.sendStatus(statusCode) #### res.set(field [, value]) #### res.status(code) #### res.type(type) #### res.vary(field)
顶部
收展
底部
[TOC]
目录
Express/Node 入门
路由
中间件
API接口 express()
API接口 app()
API接口 res()
API接口 Router()
数据库操作 ODM mongoose
相关推荐
Node.js教程:新手入门
Node.js接口
朴灵《深入浅出 Node.js》