essential/route #720
Replies: 1 comment
-
|
I love Elysia—both the user-friendly framework and its cute mascot! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
essential/route
为了确定对客户端的正确响应,web 服务器使用路径和 HTTP 方法来查找正确的资源。这个过程被称为“路由”。我们可以通过调用一个与 HTTP 动词同名的方法来定义路由,比如
Elysia.get、Elysia.post,传递一个路径和一个匹配时执行的函数。https://elysia.zhcndoc.com/essential/route.html
Beta Was this translation helpful? Give feedback.
All reactions