W3C
school
文檔首頁
HTML
CSS
Javascript
Python
jQuery
NodeJS
PHP
Java
MySQL
Express
More ?
開關(guān)
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()
Copyright©2021
w3cschool
編程獅
閩ICP備15016281號(hào)-3
閩公網(wǎng)安備35020302033924號(hào)