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.-
registerSelf
(self, registry: QgsServiceRegistry, serverIface: QgsServerInterface = None)¶ Asks the module to register all provided services.
- Parameters
registry (QgsServiceRegistry) – Service registry
serverIface (
QgsServerInterface
= None) – Interface for plugins
-