Skip to content
Permalink
Browse files

Update doc

  • Loading branch information
pblottiere committed Mar 22, 2019
1 parent eb72f16 commit 0e4e09d38994f5fb0b59619929d0c29746dd9007
Showing with 9 additions and 2 deletions.
  1. +9 −2 src/server/qgsserverexception.h
@@ -49,15 +49,22 @@ class SERVER_EXPORT QgsServerException
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.
* \returns QByteArray the fermatted response.
* \returns QByteArray The formatted response.
*
* The default implementation returns text/xml format.
*/
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;

private:

0 comments on commit 0e4e09d

Please sign in to comment.
You can’t perform that action at this time.