mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix coding style and update comments
This commit is contained in:
parent
689f3b1ab2
commit
fcacb2899f
@ -70,8 +70,8 @@ class QgsServerRequest
|
||||
Method method() const;
|
||||
|
||||
/**
|
||||
* * @return query params
|
||||
* */
|
||||
* @return query params
|
||||
*/
|
||||
QMap<QString, QString> parameters() const;
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user