summary refs log tree commit diff stats
path: root/lib/pure/asynchttpserver.nim
diff options
context:
space:
mode:
authorAudun Wilhelmsen <skyfex@gmail.com>2015-01-02 22:12:11 +0100
committerAudun Wilhelmsen <skyfex@gmail.com>2015-01-02 22:12:11 +0100
commitc461f5a8c6cbc753f47393de61e713b25e743661 (patch)
tree03281686f16d4a2876dc0713bca8f47ad6c9a855 /lib/pure/asynchttpserver.nim
parente5bfb7d55017a0f205682f34c01ac709dcf82940 (diff)
parent5023a9043858941d311c253fd1b62017080367be (diff)
downloadNim-c461f5a8c6cbc753f47393de61e713b25e743661.tar.gz
Merge branch 'devel' of https://github.com/Araq/Nim into devel
Diffstat (limited to 'lib/pure/asynchttpserver.nim')
-rw-r--r--lib/pure/asynchttpserver.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pure/asynchttpserver.nim b/lib/pure/asynchttpserver.nim
index 0b18e6bcc..4c48350aa 100644
--- a/lib/pure/asynchttpserver.nim
+++ b/lib/pure/asynchttpserver.nim
@@ -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")