Add imports to asynchttpserver example

This commit is contained in:
def
2014-12-29 22:27:31 +01:00
parent 6d749aed29
commit 2d20feb8f1

View File

@@ -17,6 +17,8 @@
## as the response body.
##
## .. code-block::nim
## import asynchttpserver, asyncdispatch
##
## var server = newAsyncHttpServer()
## proc cb(req: Request) {.async.} =
## await req.respond(Http200, "Hello World")