ColdBistreamCallDescription

data class ColdBistreamCallDescription<REQUEST, CLIENT_STREAM, SERVER_STREAM>(identifier: ServiceCallIdentifier, outgoingSerializer: KSerializer<REQUEST>, clientStreamSerializer: KSerializer<CLIENT_STREAM>, serverStreamSerializer: KSerializer<SERVER_STREAM>, errorSerializer: RPCErrorSerializer) : DownstreamCallDescription<REQUEST> , UpstreamCallDescription<REQUEST, CLIENT_STREAM>

Functions

calling
Link copied to clipboard
common
fun calling(method: suspend (REQUEST, Flow<CLIENT_STREAM>) -> Flow<SERVER_STREAM>): RunnableCallDescription<REQUEST>

Properties

clientStreamSerializer
Link copied to clipboard
common
open override val clientStreamSerializer: KSerializer<CLIENT_STREAM>
errorSerializer
Link copied to clipboard
common
open override val errorSerializer: RPCErrorSerializer
identifier
Link copied to clipboard
common
open override val identifier: ServiceCallIdentifier
outgoingSerializer
Link copied to clipboard
common
val outgoingSerializer: KSerializer<REQUEST>
payloadSerializer
Link copied to clipboard
common
open override val payloadSerializer: KSerializer<REQUEST>
serverStreamSerializer
Link copied to clipboard
common
val serverStreamSerializer: KSerializer<SERVER_STREAM>