QGIS/python/server/auto_generated/qgsserver.sip.in

78 lines
2.3 KiB
Plaintext
Raw Normal View History

2017-06-26 09:57:09 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsserver.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsServer
{
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
The QgsServer class provides OGC web services.
2017-06-26 09:57:09 +02:00
%End
%TypeHeaderCode
#include "qgsserver.h"
%End
public:
2017-06-26 09:57:09 +02:00
QgsServer();
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Creates the server instance
2017-06-26 09:57:09 +02:00
%End
void putenv( const QString &var, const QString &val );
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Set environment variable
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param var: environment variable name
:param val: value
2017-06-26 09:57:09 +02:00
.. versionadded:: 2.14
%End
void handleRequest( QgsServerRequest &request, QgsServerResponse &response, const QgsProject *project = 0 );
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Handles the request.
The query string is normally read from environment
but can be also passed in args and in this case overrides the environment
variable
:param request: a QgsServerRequest holding request parameters
:param response: a QgsServerResponse for handling response I/O)
:param project: a QgsProject or None, if it is None the project
2018-05-27 16:33:02 +10:00
is created from the MAP param specified in request or from
the QGIS_PROJECT_FILE setting
2017-06-26 09:57:09 +02:00
%End
2016-02-14 03:50:23 +01:00
2017-06-26 09:57:09 +02:00
QgsServerInterface *serverInterface();
%Docstring
Returns a pointer to the server interface
%End
2017-07-19 09:19:37 +02:00
void initPython();
2017-06-26 09:57:09 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Initialize Python
Note: not in Python bindings
2017-06-26 09:57:09 +02:00
%End
private:
2017-06-26 09:57:09 +02:00
QgsServer( const QgsServer & );
QgsServer &operator=( const QgsServer & );
};
2017-06-26 09:57:09 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsserver.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/