Class: QgsService

class qgis.server.QgsService

Bases: sip.wrapper

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.

QgsService() Constructor

QgsService(QgsService)

Methods

executeRequest

Execute the requests and set result in QgsServerRequest

name

rtype

str

version

rtype

str

executeRequest(self, request: QgsServerRequest, response: QgsServerResponse, project: QgsProject)

Execute the requests and set result in QgsServerRequest

Parameters
name(self)str
Return type

str

Returns

the name of the service

version(self)str
Return type

str

Returns

the version of the service