W3C
school
文档首页
HTML
CSS
Javascript
Python
jQuery
NodeJS
PHP
Java
MySQL
Express
More »
开关
express
Application
Application
app.all()
app.disable()
app.disabled()
app.enable()
app.enabled()
app.engine()
app.get()
app.listen()
app.locals
app.param()
app.render()
app.route()
app.set()
app.use()
application routing
application settings
express()
Request
Request
req.accepts()
req.acceptsCharset()
req.acceptsLanguage()
req.cookies
req.fresh
req.get()
req.host
req.ip
req.ips
req.is()
req.originalUrl
req.param()
req.params
req.path
req.protocol
req.query
req.route
req.secure
req.signedCookies
req.stale
req.subdomains
req.xhr
Response
Response
res.attachment()
res.clearCookie()
res.cookie()
res.download()
res.format()
res.get()
res.json()
res.jsonp()
res.links()
res.locals
res.location()
res.redirect()
res.render()
res.send()
res.sendfile()
res.set()
res.status()
res.type()
Router
Router
router.param()
router.route()
router.use()
router.VERB()
Router()
Middleware
Middleware
bodyParser()
compress()
cookieParser()
cookieSession()
csrf()
directory()
errorhandler()
favicon()
methodOverride()
morgan()
responseTime()
serveStatic()
session()
timeout()
vhost()