Update advanced docs

This commit is contained in:
Richard Chien
2019-12-23 15:55:20 +08:00
parent 6a572ca9b6
commit 2098873cf2
3 changed files with 11 additions and 4 deletions

View File

@ -0,0 +1,5 @@
# Server App
如果需要对 web 框架进行更详细的控制,可以通过 `bot.server_app` 访问到内部的 Quart 对象,之后可以像使用 Quart 的 app 对象一样添加路由、设置生命周期处理函数等。
## 自定义路由