service

fun <T : WebcomAbstractService> service(type: KClass<T>): T

Retrieves (or creates) the unique Webcom service of a given type associated with this WebcomApplication instance.

Each call to this method always returns the same instance. If you need a different instance of Webcom service for the same Webcom application, use another instance of WebcomApplication that refers to the same Webcom application.

For convenience, you can also directly use authenticationService or datasyncService.