W3C
school
文档首页
HTML
CSS
Javascript
Python
jQuery
NodeJS
PHP
Java
MySQL
Express
More »
开关
Express 官方文档
Advanced topics
1. Developing template engines for Express
2. Process managers for Express apps
3. Security updates
4. Production Best Practices: Security
5. Production best practices: performance and reliability
Getting started
1. Installing
2. Hello world example
3. Express application generator
4. Basic routing
5. Serving static files in Express
6. FAQ
Guide
1. Routing
2. Writing middleware for use in Express apps
3. Using middleware
4. Using template engines with Express
5. Error handling
6. Debugging Express
7. Express behind proxies
8. Moving to Express 4
9. Moving to Express 5
10. Database integration
Application
app.all()
app.delete()
app.disable()
app.disabled()
app.enable()
app.enabled()
app.engine()
app.get()
app.get()
app.listen()
app.locals
app.METHOD()
app.mountpath
app.on()
app.param()
app.path()
app.post()
app.put()
app.render()
app.route()
app.set()
app.use()
Events
express()
express.Router()
express.static()
Request
req.accepts()
req.acceptsCharsets()
req.acceptsEncodings()
req.acceptsLanguages()
req.app
req.baseUrl
req.body
req.cookies
req.fresh
req.get()
req.hostname
req.ip
req.ips
req.is()
req.method
req.originalUrl
req.param()
req.params
req.path
req.protocol
req.query
req.range()
req.route
req.secure
req.signedCookies
req.stale
req.subdomains
req.xhr
Response
res.app
res.append()
res.attachment()
res.clearCookie()
res.cookie()
res.download()
res.end()
res.format()
res.get()
res.headersSent
res.json()
res.jsonp()
res.links()
res.locals
res.location()
res.redirect()
res.render()
res.send()
res.sendFile()
res.sendStatus()
res.set()
res.status()
res.type()
res.vary()
Router
router.all()
router.METHOD()
router.param()
router.route()
router.use()
Index
index