SingleCallDescription

data class SingleCallDescription<REQUEST, RESPONSE>(identifier: ServiceCallIdentifier, outgoingSerializer: KSerializer<REQUEST>, incomingSerializer: KSerializer<RESPONSE>, errorSerializer: RPCErrorSerializer) : CallDescription<REQUEST>

Functions

calling
Link copied to clipboard
common
fun calling(method: suspend (REQUEST) -> RESPONSE): RunnableCallDescription<REQUEST>

Properties

errorSerializer
Link copied to clipboard
common
open override val errorSerializer: RPCErrorSerializer
identifier
Link copied to clipboard
common
open override val identifier: ServiceCallIdentifier
incomingSerializer
Link copied to clipboard
common
val incomingSerializer: KSerializer<RESPONSE>
outgoingSerializer
Link copied to clipboard
common
val outgoingSerializer: KSerializer<REQUEST>
payloadSerializer
Link copied to clipboard
common
open override val payloadSerializer: KSerializer<REQUEST>