Single

class Single<REQUEST, RESPONSE>(identifier: ServiceCallIdentifier, requestSerializer: KSerializer<REQUEST>, responseSerializer: KSerializer<RESPONSE>, errorSerializer: RPCErrorSerializer, perform: suspend (REQUEST) -> RESPONSE) : RunnableCallDescription<REQUEST>

Functions

interceptedWith
Link copied to clipboard
common

Properties

errorSerializer
Link copied to clipboard
common
val errorSerializer: RPCErrorSerializer
identifier
Link copied to clipboard
common
val identifier: ServiceCallIdentifier
payloadSerializer
Link copied to clipboard
common
val payloadSerializer: KSerializer<REQUEST>
perform
Link copied to clipboard
common
val perform: suspend (REQUEST) -> RESPONSE
requestSerializer
Link copied to clipboard
common
val requestSerializer: KSerializer<REQUEST>
responseSerializer
Link copied to clipboard
common
val responseSerializer: KSerializer<RESPONSE>