mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -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;
|
Method method() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* * @return query params
|
* @return query params
|
||||||
* */
|
*/
|
||||||
QMap<QString, QString> parameters() const;
|
QMap<QString, QString> parameters() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -51,7 +51,7 @@ class QgsServerResponse
|
|||||||
* Send error
|
* Send error
|
||||||
* This method delegates error handling at the server level. This is different
|
* 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() 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
|
* @param message An informative error message
|
||||||
*/
|
*/
|
||||||
virtual void sendError( int code, const QString& message ) = 0;
|
virtual void sendError( int code, const QString& message ) = 0;
|
||||||
|
@ -60,7 +60,7 @@ class SERVER_EXPORT QgsServer
|
|||||||
* @param var environment variable name
|
* @param var environment variable name
|
||||||
* @param val value
|
* @param val value
|
||||||
* @note added in 2.14
|
* @note added in 2.14
|
||||||
/ */
|
*/
|
||||||
void putenv( const QString &var, const QString &val );
|
void putenv( const QString &var, const QString &val );
|
||||||
|
|
||||||
/** Handles the request. The output is normally printed trough FCGI printf
|
/** Handles the request. The output is normally printed trough FCGI printf
|
||||||
|
@ -56,7 +56,9 @@ class SERVER_EXPORT QgsServerResponse
|
|||||||
/**
|
/**
|
||||||
* Send error
|
* Send error
|
||||||
* This method delegates error handling at the server level. This is different
|
* 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 code HHTP return code value
|
||||||
* @param message An informative error message
|
* @param message An informative error message
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user