We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb2aac2 commit 274bba7Copy full SHA for 274bba7
README.md
@@ -84,17 +84,11 @@ struct App: Application {
84
post("/hello") { req in
85
"Hello, \(req.query("name")!)!"
86
}
87
-
88
- // handlers can be async supported
89
- get("/download") { req in
90
- // Fetch an image from another site.
91
- try await Http.get("https://example.com/image.jpg")
92
- }
93
94
95
```
96
97
-Route handlers can also be async using Swift's new concurrency features.
+Route handlers can also be async using Swift 5.5's new concurrency features.
98
99
```swift
100
get("/download") { req in
0 commit comments