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

allowMethod

Returns True if the given method is supported for that service.

executeRequest

Execute the requests and set result in QgsServerRequest

name

return

the name of the service

version

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