Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 22, 2019
1 parent eb72f16 commit 0e4e09d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/server/qgsserverexception.h
Expand Up @@ -49,15 +49,22 @@ class SERVER_EXPORT QgsServerException
int responseCode() const { return mResponseCode; } int responseCode() const { return mResponseCode; }


/** /**
* Format the exception for sending to client * Formats the exception for sending to client
* *
* \param responseFormat QString to store the content type of the response format. * \param responseFormat QString to store the content type of the response format.
* \returns QByteArray the fermatted response. * \returns QByteArray The formatted response.
* *
* The default implementation returns text/xml format. * The default implementation returns text/xml format.
*/ */
virtual QByteArray formatResponse( QString &responseFormat SIP_OUT ) const; virtual QByteArray formatResponse( QString &responseFormat SIP_OUT ) const;


/**
* Formats the exception for sending to client
*
* \returns QByteArray The formatted response.
*
* \since QGIS 3.8
*/
QByteArray formatResponse() const; QByteArray formatResponse() const;


private: private:
Expand Down

0 comments on commit 0e4e09d

Please sign in to comment.