InterceptorEnabledRPCTransport

class InterceptorEnabledRPCTransport(transport: RPCTransport, interceptor: RPCOutgoingInterceptor) : RPCTransport

Functions

biStream
Link copied to clipboard
open suspend override fun <REQUEST, CLIENT_STREAM, RESPONSE> biStream(serviceCall: ColdBistreamCallDescription<REQUEST, CLIENT_STREAM, RESPONSE>, request: REQUEST, clientStream: Flow<CLIENT_STREAM>): Flow<RESPONSE>
clientStream
Link copied to clipboard
open suspend override fun <REQUEST, CLIENT_STREAM, RESPONSE> clientStream(serviceCall: ColdUpstreamCallDescription<REQUEST, CLIENT_STREAM, RESPONSE>, request: REQUEST, clientStream: Flow<CLIENT_STREAM>): RESPONSE
serverStream
Link copied to clipboard
open suspend override fun <REQUEST, RESPONSE> serverStream(serviceCall: ColdDownstreamCallDescription<REQUEST, RESPONSE>, request: REQUEST): Flow<RESPONSE>
singleCall
Link copied to clipboard
open suspend override fun <REQUEST, RESPONSE> singleCall(serviceCall: SingleCallDescription<REQUEST, RESPONSE>, request: REQUEST): RESPONSE

Properties

interceptor
Link copied to clipboard
val interceptor: RPCOutgoingInterceptor
transport
Link copied to clipboard
val transport: RPCTransport