Subgroup: Service

Class: QgsServiceModule

class qgis.server.QgsServiceModule

Bases: sip.wrapper

Default constructor for QgsServiceModule.

QgsServiceModule(QgsServiceModule)

Class defining the service module interface for QGIS server services

This class acts as a service registrar for services.

For dynamic modules, a QgsServiceModule instance is returned from the QGS_ServiceModule_Init() entry point.

New in version 3.0: Methods

registerSelf Asks the module to register all provided services.

Signals

Attributes

registerSelf(self, registry: QgsServiceRegistry, serverIface: QgsServerInterface = None)

Asks the module to register all provided services.

Parameters:
  • registry – Service registry
  • serverIface – Interface for plugins