From 92c069d77299417928c08f95ad236fa916bbb238 Mon Sep 17 00:00:00 2001 From: Mikhail Svetkin Date: Fri, 8 Nov 2019 20:40:28 +0100 Subject: qhttpserver: Fix documentation for special arguments Change-Id: Ibb373e7462220cb678330bb0cb7421407ccb37e3 Reviewed-by: Paul Wicking Reviewed-by: Edward Welbourne --- src/httpserver/qhttpserver.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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: -- cgit v1.2.3