withService
Creates an instance of the generated service T, that is able to communicate with a server using this RpcClient.
Return
instance of the generated service.
Parameters
T
the exact type of the service to be created.
See also
Creates an instance of the generated service T, that is able to communicate with a server using this RpcClient.
Return
instance of the generated service.
Parameters
T
the exact type of the service to be created.
serviceKType
KType of the service to be created.
See also
Creates an instance of the generated service T, that is able to communicate with a server using this RpcClient.
Return
instance of the generated service.
Parameters
T
the exact type of the service to be created.
serviceKClass
KClass of the service to be created.