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
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()
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
10. Database integration
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
Index
index
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()
请登录查看
A
A
默认
夜间
Express 官网文档
阅读(27.5k)
收藏
赞
(
0
)
分享
手册简介
Express 官方参考文档
更新记录
多端阅读
在PC/MAC上查看《Express》
下载《Express》离线版客户端
,进入客户端后通过搜索当前教程手册的名称并下载,就可查看当前离线教程文档。
在移动端查看《Express》
扫一扫或
直接访问
https://m.w3cschool.cn/doc_express/
在手机APP上查看《Express》
下载w3cschool手机App端
,请从各大安卓应用商店、苹果App Store搜索并下载w3cschool手机客户端,在App中搜索当前教程手册的名称查看。
扩展栏目
开发工具IDE
编程训练营
Wiki列表
意见反馈
X
意见反馈:
联系方式:
提交
查看完整版笔记
保存
关闭
违规举报
X
广告等垃圾信息
不友善内容
违反法律法规的内容
不宜公开讨论的政治内容
其他
提交