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 f397221 commit 9a92ad0Copy full SHA for 9a92ad0
README.md
@@ -61,7 +61,7 @@ await server.appendHandler(for: "/hello", handler: handler)
61
Closures can be added to the server to handle requests:
62
63
```swift
64
-await server.appendHandler(for: "/hello") { request in
+await server.appendHandler(for: "GET /hello") { request in
65
try await Task.sleep(nanoseconds: 1_000_000_000)
66
return HTTPResponse(statusCode: .ok)
67
}
0 commit comments