Class: QgsService¶
Defines interfaces for QGIS server services.
This class provides methods for executing server requests They are registered at runtime for a given service name.
Note
This is an abstract class, with methods which must be implemented by a subclass.
The following methods must be implemented: executeRequest()
, name()
, version()
Abstract Methods
Executes the requests and sets result in |
|
Returns the name of the service. |
|
Returns the version of the service. |
- class qgis.server.QgsService[source]¶
Bases:
object
- abstract executeRequest(self, request: QgsServerRequest, response: QgsServerResponse, project: QgsProject | None)[source]¶
Executes the requests and sets result in
QgsServerRequest
.- Parameters:
request (QgsServerRequest)
response (QgsServerResponse)
project (Optional[QgsProject])