资源说明:Node.js Express 3.0 API 参考手册
包含下列内容:
app.set()
app.get()
app.enable()
app.disable()
app.enabled()
app.disabled()
app.configure()
app.use()
app.engine()
app.param()
application settings
application routing
app.all()
app.locals
app.render()
app.routes
app.listen()
Request req.params
req.query
req.body
req.files
req.param()
req.route
req.cookies
req.signedCookies
req.get()
req.accepts()
req.accepted
req.is()
req.ip
req.ips
req.path
req.host
req.fresh
req.stale
req.xhr
req.protocol
req.secure
req.subdomains
req.originalUrl
req.acceptedLanguages
req.acceptedCharsets
req.acceptsCharset()
req.acceptsLanguage()
Response res.status()
res.set()
res.get()
res.cookie()
res.clearCookie()
res.redirect()
res.location()
res.charset
res.send()
res.json()
res.jsonp()
res.type()
res.format()
res.attachment()
res.sendfile()
res.download()
res.links()
res.locals
res.render()
Middleware basicAuth()
bodyParser()
compress()
cookieParser()
cookieSession()
csrf()
directory()
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。