RpcMethod
class RpcMethod<T : RpcService, I, O>(val endpoint: String, val inputTransform: Transformer<I>, val outputTransform: Transformer<O>, method: ServiceExecutor)
A wrapper around calling into or from stubs/serialization.
Constructors
Link copied to clipboard
constructor(endpoint: String, inputTransform: Transformer<I>, outputTransform: Transformer<O>, method: ServiceExecutor)
Functions
Link copied to clipboard
suspend fun <S> call(channel: SerializedService<S>, service: RpcService, input: CallData<S>): CallData<S>
Link copied to clipboard
Link copied to clipboard