summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMikhail Svetkin <mikhail.svetkin@gmail.com>2019-11-08 20:40:28 +0100
committerMikhail Svetkin <mikhail.svetkin@gmail.com>2019-11-21 12:00:22 +0000
commit92c069d77299417928c08f95ad236fa916bbb238 (patch)
tree258b90ef6bb912c83c55a77ad75f13d0b84b4558 /src
parent7dc185f1010067de6082276dbc009a04473bc27c (diff)
qhttpserver: Fix documentation for special arguments
Change-Id: Ibb373e7462220cb678330bb0cb7421407ccb37e3 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/httpserver/qhttpserver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/httpserver/qhttpserver.cpp b/src/httpserver/qhttpserver.cpp
index 7cc91db..413e3c3 100644
--- a/src/httpserver/qhttpserver.cpp
+++ b/src/httpserver/qhttpserver.cpp
@@ -78,9 +78,9 @@ QHttpServer::QHttpServer(QObject *parent)
The remaining arguments are used to create a new \a Rule (the default is QHttpServerRouterRule).
This is in turn added to the QHttpServerRouter.
- \c ViewHandler can only be a lambda. The lambda definition can take an optional special argument,
- either \c {const QHttpServerRequest&} or \c {QHttpServerResponder&&}.
- This special argument must be the last in the parameter list.
+ \c ViewHandler can only be a lambda. The lambda definition can take two optional special
+ arguments: \c {const QHttpServerRequest&} and \c {QHttpServerResponder&&}.
+ These special arguments must be the last in the parameter list.
Examples: