Merge pull request #1815 from def-/asynchttpserver

Add imports to asynchttpserver example
This commit is contained in:
Andreas Rumpf 2015-01-02 03:42:59 +01:00
commit 5023a90438

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")