Fix coding style and update comments

This commit is contained in:
David Marteau 2016-12-16 17:01:48 +01:00
parent 689f3b1ab2
commit fcacb2899f
10 changed files with 28 additions and 26 deletions

View File

@ -70,8 +70,8 @@ class QgsServerRequest
Method method() const;
/**
* * @return query params
* */
* @return query params
*/
QMap<QString, QString> parameters() const;
/**

View File

@ -51,7 +51,7 @@ class QgsServerResponse
* Send error
* This method delegates error handling at the server level. This is different
* from calling setReturnCode() along with and a specific response body.
* @param code HHTP return code value
* @param code HTTP return code value
* @param message An informative error message
*/
virtual void sendError( int code, const QString& message ) = 0;

View File

@ -60,7 +60,7 @@ class SERVER_EXPORT QgsServer
* @param var environment variable name
* @param val value
* @note added in 2.14
/ */
*/
void putenv( const QString &var, const QString &val );
/** Handles the request. The output is normally printed trough FCGI printf

View File

@ -56,7 +56,9 @@ class SERVER_EXPORT QgsServerResponse
/**
* Send error
* This method delegates error handling at the server level. This is different
* from calling setReturnCode() along with and a specific response body.
* from calling setReturnCode() wich let you return a specific response body.
* Calling sendError() will end the transaction and any attempt to write data
* or set headers will be an error.
* @param code HHTP return code value
* @param message An informative error message
*/