RPCOutgoingInterceptor

interface RPCOutgoingInterceptor

Functions

interceptOutgoingBistreamCall
Link copied to clipboard
common
open suspend fun <PAYLOAD, CLIENT_STREAM, SERVER_STREAM> interceptOutgoingBistreamCall(payload: PAYLOAD, stream: Flow<CLIENT_STREAM>, call: ColdBistreamCallDescription<PAYLOAD, CLIENT_STREAM, SERVER_STREAM>, next: suspend (PAYLOAD, Flow<CLIENT_STREAM>) -> Flow<SERVER_STREAM>): Flow<SERVER_STREAM>
interceptOutgoingDownstreamCall
Link copied to clipboard
common
open suspend fun <PAYLOAD, SERVER_STREAM> interceptOutgoingDownstreamCall(payload: PAYLOAD, call: ColdDownstreamCallDescription<PAYLOAD, SERVER_STREAM>, next: suspend (PAYLOAD) -> Flow<SERVER_STREAM>): Flow<SERVER_STREAM>
interceptOutgoingSingleCall
Link copied to clipboard
common
open suspend fun <PAYLOAD, RESPONSE> interceptOutgoingSingleCall(payload: PAYLOAD, call: SingleCallDescription<PAYLOAD, RESPONSE>, next: suspend (PAYLOAD) -> RESPONSE): RESPONSE
interceptOutgoingUpstreamCall
Link copied to clipboard
common
open suspend fun <PAYLOAD, CLIENT_STREAM, RESPONSE> interceptOutgoingUpstreamCall(payload: PAYLOAD, stream: Flow<CLIENT_STREAM>, call: ColdUpstreamCallDescription<PAYLOAD, CLIENT_STREAM, RESPONSE>, next: suspend (PAYLOAD, Flow<CLIENT_STREAM>) -> RESPONSE): RESPONSE

Inheritors

DefaultRPCInterceptorRegistry
Link copied to clipboard
RPCInterceptor
Link copied to clipboard