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.
Type 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
serviceKType
KType of the service to be created.
Type 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
serviceKClass
KClass of the service to be created.
Type Parameters
T
the exact type of the service to be created.