RpcService

Super-interface of all services tagged with com.monkopedia.ksrpc.annotation.KsService.

Plain RpcService supports only simple input-to-output methods. For services that return sub-services, extend RpcHostService; for services that accept sub-service inputs or use Flow<T>, extend RpcBidiService.

Inheritors

Functions

Link copied to clipboard
open suspend override fun close()

Called when the interaction with this object is done and its resources can be cleaned up.