Class: QgsService¶
-
class
qgis.server.
QgsService
¶ Bases:
sip.wrapper
Constructor
QgsService(QgsService)
QgsService Class defining interfaces for QGIS server services
This class provides methods for executing server requests They are registered at runtime for a given service name.
New in version 3.0: Enums
Methods
Returns true if the given method is supported for that service.
Execute the requests and set result in
QgsServerRequest
- return
the name of the service
- return
the version of the service
Signals
Attributes
-
allowMethod
(self, QgsServerRequest.Method) → bool¶ Returns true if the given method is supported for that service.
-
executeRequest
(self, request: QgsServerRequest, response: QgsServerResponse, project: QgsProject)¶ Execute the requests and set result in
QgsServerRequest
-
name
(self) → str¶ - Returns
the name of the service
-
version
(self) → str¶ - Returns
the version of the service