mirror of
https://github.com/actix/actix-website
synced 2025-01-23 00:25:55 +01:00
commit
fe38e242e9
@ -123,7 +123,7 @@ fn register(data: Form<Register>) -> impl Responder {
|
|||||||
<h2>Request Routing</h2>
|
<h2>Request Routing</h2>
|
||||||
<p>
|
<p>
|
||||||
An actix app comes with a URL routing system that lets you match on
|
An actix app comes with a URL routing system that lets you match on
|
||||||
URLs and invoke individual handlers. For extra flexibility scopes
|
URLs and invoke individual handlers. For extra flexibility, scopes
|
||||||
can be used.
|
can be used.
|
||||||
</p>
|
</p>
|
||||||
{{ highlight `fn index(req: HttpRequest) -> impl Responder {
|
{{ highlight `fn index(req: HttpRequest) -> impl Responder {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user