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 3e57c2f commit 7ef364aCopy full SHA for 7ef364a
lib/pure/asynchttpserver.nim
@@ -18,7 +18,7 @@ runnableExamples("-r:off"):
18
# This example will create an HTTP server on an automatically chosen port.
19
# It will respond to all requests with a `200 OK` response code and "Hello World"
20
# as the response body.
21
- import std/asyncdispatch
+ import std/asyncdispatch, asynchttpserver
22
proc main {.async.} =
23
var server = newAsyncHttpServer()
24
proc cb(req: Request) {.async.} =
0 commit comments