summary refs log tree commit diff stats
path: root/lib/pure/asynchttpserver.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure/asynchttpserver.nim')
-rw-r--r--lib/pure/asynchttpserver.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/asynchttpserver.nim b/lib/pure/asynchttpserver.nim
index c288f6089..7d6d5ffc0 100644
--- a/lib/pure/asynchttpserver.nim
+++ b/lib/pure/asynchttpserver.nim
@@ -112,7 +112,7 @@ proc sendHeaders*(req: Request, headers: StringTableRef): Future[void] =
 template respond*(req: Request, code: HttpCode,
                   content: string, headers: StringTableRef = nil) =
   ## Responds to the request with the specified ``HttpCode``, headers and
-  ## content.
+  ## content. This template returns a Future[void].
   ##
   ## This template will **not** close the client socket.
   var msg = "HTTP/1.1 " & $code & "\c\L"